mirror of
https://github.com/glfw/glfw.git
synced 2026-09-17 14:22:50 +00:00
Fixed VC++ warnings.
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ int main(void)
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
|
||||
glLoadIdentity();
|
||||
glRotatef(glfwGetTime() * 50.f, 0.f, 0.f, 1.f);
|
||||
glRotatef((float) glfwGetTime() * 50.f, 0.f, 0.f, 1.f);
|
||||
|
||||
glBegin(GL_TRIANGLES);
|
||||
glColor3f(1.f, 0.f, 0.f);
|
||||
|
||||
Reference in New Issue
Block a user