X-Git-Url: https://git.cworth.org/git?p=fips;a=blobdiff_plain;f=glxwrap.c;h=799a0190f794de1a63346c372f17b2148835879d;hp=84bf48522565e489de274cd87e752d5a470ebd01;hb=5569357a9fc7189c2bae43773f44ba576583ec2b;hpb=a9a3c0277f608fcfc7c92a93796db001d36914d4 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; +}