mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 12:00:01 +00:00
Fix font bug
This commit is contained in:
parent
4b4f59a5d4
commit
64049f0f81
|
@ -390,9 +390,9 @@ CFont::PrintChar(float x, float y, wchar c)
|
||||||
x + 32.0f * RenderState.scaleX * 1.0f,
|
x + 32.0f * RenderState.scaleX * 1.0f,
|
||||||
y + 33.0f * RenderState.scaleY * 0.5f),
|
y + 33.0f * RenderState.scaleY * 0.5f),
|
||||||
RenderState.color,
|
RenderState.color,
|
||||||
xoff / 16.0f, yoff / 12.8f,
|
xoff / 16.0f, yoff / 12.8f + 0.0021f,
|
||||||
(xoff + 1.0f) / 16.0f - 0.001f, yoff / 12.8f - 0.017f,
|
(xoff + 1.0f) / 16.0f - 0.001f, yoff / 12.8f + 0.0021f,
|
||||||
xoff / 16.0f, (yoff + 1.0f) / 12.8f,
|
xoff / 16.0f, (yoff + 1.0f) / 12.8f - 0.017f,
|
||||||
(xoff + 1.0f) / 16.0f - 0.001f, (yoff + 1.0f) / 12.8f - 0.017f);
|
(xoff + 1.0f) / 16.0f - 0.001f, (yoff + 1.0f) / 12.8f - 0.017f);
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in a new issue