]> git.cworth.org Git - fips/blobdiff - eglwrap.c
Fix for an implementation with non-contiguous group ID values.
[fips] / eglwrap.c
index f74ae40bc6abe0843bbb3e683ea64f816b5352a9..497779ce3fd2048f03f518a98f51c70575c37d07 100644 (file)
--- a/eglwrap.c
+++ b/eglwrap.c
@@ -112,6 +112,9 @@ eglMakeCurrent (EGLDisplay display, EGLSurface draw, EGLSurface read,
 
        EGLWRAP_DEFER_WITH_RETURN (ret, eglMakeCurrent, display, draw, read, context);
 
+       metrics_info_init ();
+
+       metrics_set_current_op (METRICS_OP_SHADER + 0);
        metrics_counter_start ();
 
        return ret;