summaryrefslogtreecommitdiff
path: root/gdk/gdkglcontextprivate.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2014-11-06 11:31:01 +0100
committerAlexander Larsson <alexl@redhat.com>2014-11-06 12:24:43 +0100
commit5f9e6ec2dc2e5ae4442d5cdb64684cd4a51d20d4 (patch)
treee562034855cdee512e00b8fa1f4b00eb24e37d24 /gdk/gdkglcontextprivate.h
parent650c9f3b7eaade447aa341d7c8dd7d9a9aa10188 (diff)
downloadgtk+-5f9e6ec2dc2e5ae4442d5cdb64684cd4a51d20d4.tar.gz
GdkGL: Fix up GL_ARB_texture_rectangle support
This broke when gdk_gl_texture_quad moved to shaders. We need a specialized shader for the rectangle case.
Diffstat (limited to 'gdk/gdkglcontextprivate.h')
-rw-r--r--gdk/gdkglcontextprivate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk/gdkglcontextprivate.h b/gdk/gdkglcontextprivate.h
index c738fa51ce..ec4ab334a0 100644
--- a/gdk/gdkglcontextprivate.h
+++ b/gdk/gdkglcontextprivate.h
@@ -65,6 +65,11 @@ typedef struct {
guint texture_quad_program;
guint texture_quad_program_position_location;
guint texture_quad_program_uv_location;
+ guint texture_quad_program_map_location;
+ guint texture_quad_rect_program;
+ guint texture_quad_rect_program_position_location;
+ guint texture_quad_rect_program_uv_location;
+ guint texture_quad_rect_program_map_location;
} GdkGLContextPaintData;
GdkGLContextPaintData *gdk_gl_context_get_paint_data (GdkGLContext *context);