diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2021-08-01 13:15:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-01 19:15:21 +0200 |
| commit | d2bad8fb6af983bf12f7b287064a8519dcb749a5 (patch) | |
| tree | 72296d9a028bf46f72a7ec227121093309043b48 /src/code/PreRender.c | |
| parent | a209195183d71b988a50aabd53d34156b70ca4c5 (diff) | |
convert remaining RGB5a1 to RGBA16 (#879)
Diffstat (limited to 'src/code/PreRender.c')
| -rw-r--r-- | src/code/PreRender.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/PreRender.c b/src/code/PreRender.c index ec502596f..74a95e4e8 100644 --- a/src/code/PreRender.c +++ b/src/code/PreRender.c @@ -365,8 +365,8 @@ void func_800C2500(PreRender* this, s32 x, s32 y) { s32 pxR2; s32 pxG2; s32 pxB2; - Color_RGB5A1 pxIn; - Color_RGB5A1 pxOut; + Color_RGBA16 pxIn; + Color_RGBA16 pxOut; u32 pxR3; u32 pxG3; u32 pxB3; @@ -483,7 +483,7 @@ void func_800C2FE4(PreRender* this) { for (y = 0; y < this->height; y++) { for (x = 0; x < this->width; x++) { - Color_RGB5A1 pxIn; + Color_RGBA16 pxIn; pxIn.rgba = this->fbufSave[x + y * this->width]; buffR[x] = pxIn.r; @@ -492,7 +492,7 @@ void func_800C2FE4(PreRender* this) { } for (x = 1; x < this->width - 1; x++) { - Color_RGB5A1 pxOut; + Color_RGBA16 pxOut; s32 a = this->cvgSave[x + y * this->width]; a >>= 5; |
