mirror of https://github.com/snes9xgit/snes9x.git
GTK+: Use glXQueryExtension, not epoxy_has_glx.
This commit is contained in:
parent
d3b42751b9
commit
de4699bd24
|
@ -658,8 +658,10 @@ int S9xOpenGLDisplayDriver::query_availability ()
|
|||
{
|
||||
Display *dpy = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
|
||||
|
||||
if (epoxy_has_glx (dpy))
|
||||
return 1;
|
||||
if (glXQueryExtension (dpy, NULL, NULL) == True)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue