GRIM: Switch iris renderer to regular rendering

This commit is contained in:
Joel Teichroeb 2017-11-26 19:54:06 -08:00
parent 89265016a8
commit d43b5b4a0c

View File

@ -1917,10 +1917,11 @@ void GfxOpenGL::irisAroundRegion(int x1, int y1, int x2, int y2) {
fx1, fy1
};
glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(2, GL_FLOAT, 0, points);
glDrawArrays(GL_TRIANGLE_STRIP, 0, 10);
glDisableClientState(GL_VERTEX_ARRAY);
glBegin(GL_TRIANGLE_STRIP);
for (int i = 0 ;i < 10; ++i) {
glVertex2fv(points+2*i);
}
glEnd();
glColor3f(1.0f, 1.0f, 1.0f);
glEnable(GL_DEPTH_TEST);