mesa: Map program UBOs and SSBOs to Interface Blocks
[mesa.git] / src / mesa / main / getstring.c
index 06ba17c92d666e2e35f9ae3b0f0dd5ec25c7f3a6..87c5a3a194fcd8433c94c18158127d774f438e0e 100644 (file)
@@ -121,7 +121,7 @@ _mesa_GetString( GLenum name )
    assert(ctx->Driver.GetString);
    {
       /* Give the driver the chance to handle this query */
-      const GLubyte *str = (*ctx->Driver.GetString)(ctx, name);
+      const GLubyte *str = ctx->Driver.GetString(ctx, name);
       if (str)
          return str;
    }