[gtk+] GdkWindow: Drop gl matrix setup which is not needed anymore.
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GdkWindow: Drop gl matrix setup which is not needed anymore.
- Date: Thu, 6 Nov 2014 19:42:57 +0000 (UTC)
commit 41bf293efdbeb5777ef52ae32fd1125556cdc36c
Author: Alexander Larsson <alexl redhat com>
Date: Thu Nov 6 20:37:24 2014 +0100
GdkWindow: Drop gl matrix setup which is not needed anymore.
gdk/gdkwindow.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 5970ee3..0c09836 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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 ();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]