GdkWindow: Drop gl matrix setup which is not needed anymore.

This commit is contained in:
Alexander Larsson 2014-11-06 20:37:24 +01:00
parent 61eabc4778
commit 41bf293efd

View File

@ -2934,13 +2934,6 @@ gdk_window_begin_paint_region (GdkWindow *window,
glTexEnvi (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
glViewport (0, 0, ww, wh);
glMatrixMode (GL_PROJECTION);
glLoadIdentity ();
glOrtho (0.0f, ww, 0.0f, wh, -1.0f, 1.0f);
glMatrixMode (GL_MODELVIEW);
glLoadIdentity ();
}
}