mirror of
https://github.com/projectPiki/pikmin2.git
synced 2025-01-31 19:04:22 +00:00
Improve doDrawLetter the right way.
This commit is contained in:
parent
e0b174aa7e
commit
3f7112cd7e
@ -750,7 +750,10 @@ f32 TRenderingProcessor::doDrawLetter(f32 x0, f32 y0, f32 x, f32 y, int a1, bool
|
||||
if (ret) {
|
||||
GXLoadPosMtxImm(mtx2.mMatrix.mtxView, 0);
|
||||
JUtility::TColor color;
|
||||
color.set(0, 0, 0, ret >> 1);
|
||||
color.b = 0; // This actually assigns in BGRA order, weird!
|
||||
color.g = 0;
|
||||
color.r = 0;
|
||||
color.a = ret >> 1;
|
||||
mMainFont->setGradColor(color, color);
|
||||
mMainFont->drawChar_scale(0.0f, 0.0f, x, y, a1, flag);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user