summaryrefslogtreecommitdiff
path: root/gdk/gdkgl.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-01-28 19:06:37 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2015-02-09 19:10:30 +0000
commit395125bcfb4a44f5892e55aa5ca768adbe6cebc4 (patch)
treeb88d76fd955ff31be91daf2d5f9d71f8411056f9 /gdk/gdkgl.c
parent4b8b3b431bfba9fa9bc68ebc95af13a32ea8a7ad (diff)
downloadgtk+-395125bcfb4a44f5892e55aa5ca768adbe6cebc4.tar.gz
gl: Do not use the extension API for core GL
Since we are using a Core GL profile, we need to drop the extension-based API. https://bugzilla.gnome.org/show_bug.cgi?id=741946
Diffstat (limited to 'gdk/gdkgl.c')
-rw-r--r--gdk/gdkgl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c
index 5dae9f6514..be3d6f428e 100644
--- a/gdk/gdkgl.c
+++ b/gdk/gdkgl.c
@@ -355,7 +355,7 @@ gdk_cairo_draw_from_gl (cairo_t *cr,
if (source_type == GL_RENDERBUFFER)
{
- glBindRenderbufferEXT (GL_RENDERBUFFER_EXT, source);
+ glBindRenderbuffer (GL_RENDERBUFFER, source);
glGetRenderbufferParameteriv (GL_RENDERBUFFER, GL_RENDERBUFFER_ALPHA_SIZE, &alpha_size);
}
else if (source_type == GL_TEXTURE)