summaryrefslogtreecommitdiff
path: root/gdk/gdkinternals.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/gdkinternals.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/gdkinternals.h')
-rw-r--r--gdk/gdkinternals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 14141bde4c..6543f55b41 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -351,6 +351,7 @@ gboolean _gdk_cairo_surface_extents (cairo_surface_t *surface,
void gdk_gl_texture_from_surface (cairo_surface_t *surface,
cairo_region_t *region);
void gdk_gl_texture_quad (GdkGLContext *paint_context,
+ guint texture_target,
float x1, float y1,
float x2, float y2,
float u1, float v1,