mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
GRIM: Switch iris renderer to regular rendering
This commit is contained in:
parent
89265016a8
commit
d43b5b4a0c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user