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