X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=glxwrap.c;fp=glxwrap.c;h=7b90ceb4008d2d98976ce3645a352d901c3eeb8d;hb=a61ba86b00f083f5e4afbd472937b856f1e618e7;hp=4523c90588f2dd709926061e677460e43696ecfa;hpb=ec6fb3e9d202bebf02eb8676b9de98711c64956f;p=fips diff --git a/glxwrap.c b/glxwrap.c index 4523c90..7b90ceb 100644 --- a/glxwrap.c +++ b/glxwrap.c @@ -35,9 +35,11 @@ void glXSwapBuffers (Display *dpy, GLXDrawable drawable) { + context_end_frame_pre_swap (); + GLWRAP_DEFER (glXSwapBuffers, dpy, drawable); - context_end_frame (); + context_end_frame_post_swap (); } /* glXGetProcAddressARB is a function which accepts a string and