X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=glxwrap.c;h=7b90ceb4008d2d98976ce3645a352d901c3eeb8d;hb=refs%2Fheads%2Fframe-timings;hp=4b87642e08846612d8d3f2ce1739e39db7373cb8;hpb=b0e640a505171550746af20e940076c579a0e638;p=fips diff --git a/glxwrap.c b/glxwrap.c index 4b87642..7b90ceb 100644 --- a/glxwrap.c +++ b/glxwrap.c @@ -35,13 +35,11 @@ void glXSwapBuffers (Display *dpy, GLXDrawable drawable) { - GLWRAP_DEFER (glXSwapBuffers, dpy, drawable); - - context_counter_stop (); + context_end_frame_pre_swap (); - context_end_frame (); + GLWRAP_DEFER (glXSwapBuffers, dpy, drawable); - context_counter_start (); + context_end_frame_post_swap (); } /* glXGetProcAddressARB is a function which accepts a string and