]> git.cworth.org Git - fips/blobdiff - glxwrap.c
Add support for OpenGL ES by conditionally compiling wrapper for eglSwapBuffers
[fips] / glxwrap.c
index 885f679c860bed17b0004c89e27986bb21515742..d7670a79a28a1e3bf90bc3b6cc8b53d08bb1f486 100644 (file)
--- a/glxwrap.c
+++ b/glxwrap.c
 #include <GL/glx.h>
 
 #include "dlwrap.h"
-
 #include "glwrap.h"
+#include "metrics.h"
 
 void
 glXSwapBuffers (Display *dpy, GLXDrawable drawable)
 {
        GLWRAP_DEFER (glXSwapBuffers, dpy, drawable);
 
-       glwrap_end_frame ();
+       metrics_end_frame ();
 }