mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(font): specify 'std' namespace when accessing floor() to avoid double function
This commit is contained in:
parent
3f8055ea56
commit
5f3eadea1e
1 changed files with 2 additions and 2 deletions
|
|
@ -48,8 +48,8 @@ void TEXTLINETEXTURE::WriteGeometry(CGxVertexPCT* buf, const CImVector& fontColo
|
||||||
|
|
||||||
if (a7) {
|
if (a7) {
|
||||||
C3Vector shadowTranslation = {
|
C3Vector shadowTranslation = {
|
||||||
viewTranslation.x + floor(ScreenToPixelWidth(0, shadowOffset.x)),
|
viewTranslation.x + std::floor(ScreenToPixelWidth(0, shadowOffset.x)),
|
||||||
viewTranslation.y + floor(ScreenToPixelHeight(0, shadowOffset.y)),
|
viewTranslation.y + std::floor(ScreenToPixelHeight(0, shadowOffset.y)),
|
||||||
viewTranslation.z
|
viewTranslation.z
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue