Kaydet (Commit) 92edd9b3 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

WaE: warning C4305: 'argument' : truncation from 'double' to 'GLfloat'

Change-Id: I8afe523cfe1be28bc5427c5e5852bea0be2aaea3
üst dd8f0959
...@@ -1699,11 +1699,11 @@ void OpenGL3DRenderer::ClearBuffer() ...@@ -1699,11 +1699,11 @@ void OpenGL3DRenderer::ClearBuffer()
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glBegin (GL_QUADS); glBegin (GL_QUADS);
glColor3f(0.3,0.3,0.3); glColor3f (0.3f, 0.3f, 0.3f);
glVertex3f (-1.0f, -1.0f, -1.0f); glVertex3f (-1.0f, -1.0f, -1.0f);
glVertex3f (1.0f, -1.0f, -1.0f); glVertex3f (1.0f, -1.0f, -1.0f);
glColor3f(0.0,0.0,0.0); glColor3f (0.0f, 0.0f, 0.0f);
glVertex3f (1.0f, 1.0f, -1.0f); glVertex3f (1.0f, 1.0f, -1.0f);
glVertex3f (-1.0f, 1.0f, -1.0f); glVertex3f (-1.0f, 1.0f, -1.0f);
glEnd (); glEnd ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment