summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-02-11 23:26:02 -0800
committerMatt Turner <[email protected]>2013-02-15 10:28:12 -0800
commit00f6fe6c66a2e33ca27706a2eaaf5374647dc744 (patch)
treea6b885f8d3404e64d4e5d3863d6bd10f1a654e19
parent2ef530cf68f7b837db6750e7a4b1ba9e71aad062 (diff)
mesa: Use PROGRAM_ERROR_STRING_ARB instead of the _NV name
Since NV_fragment_program is now gone. No functional change, since the values are identical. Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/main/getstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c
index aa3a528fd3d..5280b4dd382 100644
--- a/src/mesa/main/getstring.c
+++ b/src/mesa/main/getstring.c
@@ -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)) {