mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int.
This commit is contained in:
@@ -70,7 +70,7 @@ namespace opengl
|
||||
glPushMatrix();
|
||||
|
||||
glMultMatrixf((const GLfloat*)t.getElements());
|
||||
glTranslatef(data->getBearingX(), -data->getBearingY(), 0.0f);
|
||||
glTranslatef(static_cast<float>(data->getBearingX()), static_cast<float>(-data->getBearingY()), 0.0f);
|
||||
|
||||
glEnableClientState(GL_VERTEX_ARRAY);
|
||||
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
|
||||
|
||||
Reference in New Issue
Block a user