mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-07 17:58:42 +02:00
[gl] Don't forget that we require ARB_texture_non_power_of_two currently.
This commit is contained in:
parent
979337dd4d
commit
29768c2193
1 changed files with 2 additions and 1 deletions
|
|
@ -151,7 +151,8 @@ cairo_gl_glx_context_create (Display *dpy, GLXContext gl_ctx)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (!GLEW_EXT_framebuffer_object || !GLEW_ARB_texture_env_combine) {
|
||||
if (!GLEW_EXT_framebuffer_object || !GLEW_ARB_texture_env_combine ||
|
||||
!GLEW_ARB_texture_non_power_of_two) {
|
||||
free(ctx);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue