diff options
author | Alexander Larsson <alexl@redhat.com> | 2014-11-06 11:31:01 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2014-11-06 12:24:43 +0100 |
commit | 5f9e6ec2dc2e5ae4442d5cdb64684cd4a51d20d4 (patch) | |
tree | e562034855cdee512e00b8fa1f4b00eb24e37d24 /gdk/gdkglcontextprivate.h | |
parent | 650c9f3b7eaade447aa341d7c8dd7d9a9aa10188 (diff) | |
download | gtk+-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.h | 5 |
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); |