]> git.cworth.org Git - fips/blobdiff - eglwrap.c
Add some *wrap_ prefixes to real_foo symbols.
[fips] / eglwrap.c
index aaa8cb7815cf3d6bb3ecfb50d144d3e45e4c5754..00a8284b1352de7951f6999f40067466cb20b3f7 100644 (file)
--- a/eglwrap.c
+++ b/eglwrap.c
@@ -48,12 +48,12 @@ EGLBoolean
 eglSwapBuffers (EGLDisplay dpy, EGLSurface surface)
 {
        EGLBoolean ret;
-       static typeof(&eglSwapBuffers) real_eglSwapBuffers;
+       static typeof(&eglSwapBuffers) eglwrap_real_eglSwapBuffers;
 
-       if (! real_eglSwapBuffers)
-               real_eglSwapBuffers = eglwrap_lookup ("eglSwapBuffers");
+       if (! eglwrap_real_eglSwapBuffers)
+               eglwrap_real_eglSwapBuffers = eglwrap_lookup ("eglSwapBuffers");
 
-       ret = real_eglSwapBuffers (dpy, surface);
+       ret = eglwrap_real_eglSwapBuffers (dpy, surface);
 
        metrics_end_frame ();