aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas/engines/gl_common/evas_gl_core_private.h
diff options
context:
space:
mode:
authorSung Park <sungwoo@gmail.com>2012-11-16 08:32:32 +0000
committerSung Park <sungwoo@gmail.com>2012-11-16 08:32:32 +0000
commit3e6b22aaed0acb00d022cdf1c155076f3b00a49f (patch)
treec84c7757da64e5b20305efe67f2976e7014992c7 /src/modules/evas/engines/gl_common/evas_gl_core_private.h
parent0a359ced029a5de917540d3ddfab7218a54ef104 (diff)
downloadefl-3e6b22aaed0acb00d022cdf1c155076f3b00a49f.tar.gz
efl-3e6b22aaed0acb00d022cdf1c155076f3b00a49f.tar.xz
efl-3e6b22aaed0acb00d022cdf1c155076f3b00a49f.zip
Fixed glGetIntegerv() in Direct Rendering mode for Evas GL
to properly handle GL_SCISSOR_BOX and GL_VIEWPORT parameters. SVN revision: 79364
Diffstat (limited to 'src/modules/evas/engines/gl_common/evas_gl_core_private.h')
-rwxr-xr-xsrc/modules/evas/engines/gl_common/evas_gl_core_private.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_core_private.h b/src/modules/evas/engines/gl_common/evas_gl_core_private.h
index 838e8f5d4..be114b497 100755
--- a/src/modules/evas/engines/gl_common/evas_gl_core_private.h
+++ b/src/modules/evas/engines/gl_common/evas_gl_core_private.h
@@ -121,9 +121,12 @@ struct _EVGL_Context
int scissor_enabled;
int scissor_upated;
int scissor_coord[4];
-
+ int dr_scissor_coord[4];
int direct_scissor;
+ int viewport_updated;
+ int viewport_coord[4];
+
EVGL_Surface *current_sfc;
};