mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-12 13:35:35 -04:00
Fix ResTIMG BE everywhere
This commit is contained in:
@@ -246,12 +246,12 @@ static ResTIMG* createTimg(u16 width, u16 height, u32 format) {
|
||||
cLib_memSet(timg, 0, bufferSize);
|
||||
timg->format = format;
|
||||
timg->alphaEnabled = false;
|
||||
timg->width = RES_U16(width);
|
||||
timg->height = RES_U16(height);
|
||||
timg->width = width;
|
||||
timg->height = height;
|
||||
timg->minFilter = GX_LINEAR;
|
||||
timg->magFilter = GX_LINEAR;
|
||||
timg->mipmapCount = 1;
|
||||
timg->imageOffset = RES_U32(0x20);
|
||||
timg->imageOffset = 0x20;
|
||||
return timg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user