X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=glxwrap.c;h=799a0190f794de1a63346c372f17b2148835879d;hb=99eeb7e0771887efc60f295db6a30a76c677c933;hp=84bf48522565e489de274cd87e752d5a470ebd01;hpb=65892e28812cc06cceba26c22caca6e6b83960e0;p=fips diff --git a/glxwrap.c b/glxwrap.c index 84bf485..799a019 100644 --- a/glxwrap.c +++ b/glxwrap.c @@ -21,6 +21,8 @@ #include "fips.h" +#include "fips-dispatch.h" + #include #include #include @@ -57,3 +59,15 @@ void (*glXGetProcAddressARB (const GLubyte *func))(void) return ret; } + +Bool +glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx) +{ + Bool ret; + + fips_dispatch_init (FIPS_API_GLX); + + GLWRAP_DEFER_WITH_RETURN (ret, glXMakeCurrent, dpy, drawable, ctx); + + return ret; +}