Skip to content
Snippets Groups Projects
Commit d4e0e8ea authored by Adam Jackson's avatar Adam Jackson :headphones:
Browse files

Also check for EXT_tfd in the GLX extension string.

parent 275a60e6
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,9 @@
* src/texture.c:
Allow using EXT_texture_from_drawable as well as MESA_render_texture.
* src/screen.c:
Also check for EXT_tfd in the GLX extension string.
2005-12-31 Zack Rusin <zack@freedesktop.org>
Initial import. (David Reveman)
......@@ -680,7 +680,8 @@ addScreen (CompDisplay *display,
currentRoot = s->root;
glxExtensions = glXQueryExtensionsString (s->display->display, screenNum);
if (!testMode && !strstr (glxExtensions, "GLX_MESA_render_texture"))
if (!testMode && !strstr (glxExtensions, "GLX_MESA_render_texture")
&& !strstr(glxExtensions, "GLX_EXT_texture_from_drawable"))
{
fprintf (stderr, "%s: GLX_MESA_render_texture is missing\n",
programName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment