[gtk+/wip/ebassi/gl-context-realize: 6/10] gl: Do not use the extension API for core GL
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/ebassi/gl-context-realize: 6/10] gl: Do not use the extension API for core GL
- Date: Thu, 5 Feb 2015 17:46:11 +0000 (UTC)
commit ab4d8868c5820eed464ec23dcda5d25e0f7a73d6
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Jan 28 19:06:37 2015 +0000
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.
gdk/gdkgl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c
index 5dae9f6..be3d6f4 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]