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