mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-19 11:30:09 +03:00
fix(font): specify 'std' namespace when accessing floor() to avoid double function
This commit is contained in:
parent
3f8055ea56
commit
5f3eadea1e
@ -48,8 +48,8 @@ void TEXTLINETEXTURE::WriteGeometry(CGxVertexPCT* buf, const CImVector& fontColo
|
||||
|
||||
if (a7) {
|
||||
C3Vector shadowTranslation = {
|
||||
viewTranslation.x + floor(ScreenToPixelWidth(0, shadowOffset.x)),
|
||||
viewTranslation.y + floor(ScreenToPixelHeight(0, shadowOffset.y)),
|
||||
viewTranslation.x + std::floor(ScreenToPixelWidth(0, shadowOffset.x)),
|
||||
viewTranslation.y + std::floor(ScreenToPixelHeight(0, shadowOffset.y)),
|
||||
viewTranslation.z
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user