From 00f6fe6c66a2e33ca27706a2eaaf5374647dc744 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 11 Feb 2013 23:26:02 -0800 Subject: [PATCH] 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 --- src/mesa/main/getstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.30.2