Previously, we only intitialized fips_dispatch if glxMakeCurrent was
called. This caused fips to fail for programs that called
glxMakeContextCurrent instead. Both functions are now handled
indentically, (giving fips a clear indication that GLX is being used,
not EGL).
This fixes the failure of fips with Lightsmark 2008.
return ret;
}
+
+Bool
+glXMakeContextCurrent (Display *dpy, GLXDrawable drawable, GLXDrawable read, GLXContext ctx)
+{
+ Bool ret;
+
+ fips_dispatch_init (FIPS_API_GLX);
+
+ GLWRAP_DEFER_WITH_RETURN (ret, glXMakeContextCurrent, dpy, drawable, read, ctx);
+
+ return ret;
+}