X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=eglwrap.c;fp=eglwrap.c;h=00a8284b1352de7951f6999f40067466cb20b3f7;hb=9f0b85a2b62ddcd43ef664be7156b8f5bb146367;hp=aaa8cb7815cf3d6bb3ecfb50d144d3e45e4c5754;hpb=c10f5f0deb7723aa8462ce52e58f40c9490a8340;p=fips diff --git a/eglwrap.c b/eglwrap.c index aaa8cb7..00a8284 100644 --- 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 ();