]> git.cworth.org Git - fips/blobdiff - eglwrap.c
Cleanup outstanding counters at context change.
[fips] / eglwrap.c
index 497779ce3fd2048f03f518a98f51c70575c37d07..73b7a8d39699001dab539a2c54a0875d6120fad0 100644 (file)
--- a/eglwrap.c
+++ b/eglwrap.c
@@ -108,6 +108,8 @@ eglMakeCurrent (EGLDisplay display, EGLSurface draw, EGLSurface read,
 {
        EGLBoolean ret;
 
+       metrics_info_fini ();
+
        fips_dispatch_init (FIPS_API_EGL);
 
        EGLWRAP_DEFER_WITH_RETURN (ret, eglMakeCurrent, display, draw, read, context);