X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=eglwrap.c;h=73b7a8d39699001dab539a2c54a0875d6120fad0;hb=6dcb864fcfa77c4bf4eb7e1c04f00e53f9fee446;hp=9e583895f888cc3c53939ea4f4855b48073b17cd;hpb=61b4545d541527ca2bd76811195b964595db7ed1;p=fips diff --git a/eglwrap.c b/eglwrap.c index 9e58389..73b7a8d 100644 --- a/eglwrap.c +++ b/eglwrap.c @@ -108,10 +108,14 @@ 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); + metrics_info_init (); + metrics_set_current_op (METRICS_OP_SHADER + 0); metrics_counter_start ();