[Scummvm-cvs-logs] SF.net SVN: scummvm:[39881] residual/trunk/engine/backend/platform/sdl/ driver_gl.cpp
aquadran at users.sourceforge.net
aquadran at users.sourceforge.net
Tue Apr 7 07:36:13 CEST 2009
Revision: 39881
http://scummvm.svn.sourceforge.net/scummvm/?rev=39881&view=rev
Author: aquadran
Date: 2009-04-07 05:36:12 +0000 (Tue, 07 Apr 2009)
Log Message:
-----------
glVertex2f -> glVertex2i
Modified Paths:
--------------
residual/trunk/engine/backend/platform/sdl/driver_gl.cpp
Modified: residual/trunk/engine/backend/platform/sdl/driver_gl.cpp
===================================================================
--- residual/trunk/engine/backend/platform/sdl/driver_gl.cpp 2009-04-07 04:33:57 UTC (rev 39880)
+++ residual/trunk/engine/backend/platform/sdl/driver_gl.cpp 2009-04-07 05:36:12 UTC (rev 39881)
@@ -1075,10 +1075,10 @@
glBegin(GL_LINE_LOOP);
}
- glVertex2f(x1, y1);
- glVertex2f(x2, y1);
- glVertex2f(x2, y2);
- glVertex2f(x1, y2);
+ glVertex2i(x1, y1);
+ glVertex2i(x2, y1);
+ glVertex2i(x2, y2);
+ glVertex2i(x1, y2);
glEnd();
glColor3f(1.0f, 1.0f, 1.0f);
@@ -1109,8 +1109,8 @@
glColor3f(color.red() / 255.0f, color.green() / 255.0f, color.blue() / 255.0f);
glBegin(GL_LINES);
- glVertex2f(x1, y1);
- glVertex2f(x2, y2);
+ glVertex2i(x1, y1);
+ glVertex2i(x2, y2);
glEnd();
glColor3f(1.0f, 1.0f, 1.0f);
@@ -1145,13 +1145,13 @@
glColor3f(color.red() / 255.0f, color.green() / 255.0f, color.blue() / 255.0f);
glBegin(GL_LINES);
- glVertex2f(x1, y1);
- glVertex2f(x2, y2);
+ glVertex2i(x1, y1);
+ glVertex2i(x2, y2);
glEnd();
glBegin(GL_LINES);
- glVertex2f(x3, y3);
- glVertex2f(x4, y4);
+ glVertex2i(x3, y3);
+ glVertex2i(x4, y4);
glEnd();
glColor3f(1.0f, 1.0f, 1.0f);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list