[gl] Don't forget that we require ARB_texture_non_power_of_two currently.

This commit is contained in:
Eric Anholt 2009-05-09 11:30:11 -07:00
parent 979337dd4d
commit 29768c2193

View file

@ -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;
}