mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-08 15:39:55 +03:00
fix(font): specify 'std' namespace when accessing floor() to avoid double function
This commit is contained in:
1 parent
3f8055ea56
commit
5f3eadea1e
1 file changed
+2
-2
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user