void glXSwapBuffers(Display *dpy, GLXDrawable drawable) { if(!libGL) { shim_load_libGL(); } if(!global_smaa) { global_smaa = smaa_create(); } smaa_update(global_smaa); _glXSwapBuffers(dpy, drawable); }
void glXSwapBuffers( Display *dpy, GLXDrawable drawable ) { OGL_CHECK_FUNC(_glXSwapBuffers, "glXSwapBuffers"); printf("glXSwapBuffers()\n"); _glXSwapBuffers( dpy, drawable ); }