mesa: Use PROGRAM_ERROR_STRING_ARB instead of the _NV name
authorMatt Turner <mattst88@gmail.com>
Tue, 12 Feb 2013 07:26:02 +0000 (23:26 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 15 Feb 2013 18:28:12 +0000 (10:28 -0800)
Since NV_fragment_program is now gone. No functional change, since the
values are identical.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/getstring.c

index aa3a528fd3d9c9c1434d2bd1dc43b32af39272bb..5280b4dd3821c101c0e1ece6c700f6ba37292c45 100644 (file)
@@ -137,7 +137,7 @@ _mesa_GetString( GLenum name )
          if (ctx->API == API_OPENGLES)
             break;
         return shading_language_version(ctx);
-      case GL_PROGRAM_ERROR_STRING_NV:
+      case GL_PROGRAM_ERROR_STRING_ARB:
          if (ctx->API == API_OPENGL_COMPAT &&
              (ctx->Extensions.ARB_fragment_program ||
               ctx->Extensions.ARB_vertex_program)) {