]> git.cworth.org Git - fips/blobdiff - glwrap.c
Perform reporting on a per-shader-stage basis
[fips] / glwrap.c
index 94966f5142487e402bb646c0d576c0e027c5bb63..aa560386feca11db8abbf18a3a5412f14be5fbe3 100644 (file)
--- a/glwrap.c
+++ b/glwrap.c
@@ -97,6 +97,8 @@ glwrap_lookup (char *name)
                const char *path;
 
                path = getenv ("FIPS_LIBGL");
+               if (! path)
+                       path = getenv ("GLAZE_LIBGL");
                if (path) {
                        gl_handle = dlopen (path, RTLD_LAZY);
 
@@ -113,7 +115,7 @@ glwrap_lookup (char *name)
        ret = dlwrap_real_dlsym (gl_handle, name);
 
        if (ret == NULL) {
-               fprintf (stderr, "Error: glwrap_lookup failed to dlsym %s\n",
+               fprintf (stderr, "fips: Error: glwrap_lookup failed to dlsym %s\n",
                         name);
                exit (1);
        }