mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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
This commit is contained in:
parent
4b8b3b431b
commit
395125bcfb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user