summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/getstring.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-10-14 16:27:51 -0700
committerKenneth Graunke <[email protected]>2012-10-16 11:35:23 -0700
commit58c466519d82fe040e9e20263058a03395a7b95b (patch)
tree1213f5dbc9ddebf7a0bd3cd15a1aca97256c52e8 /src/mesa/main/getstring.c
parente5f03f23a049c7d7960b75b1aaa2d0d1fb1e2d48 (diff)
mesa: Remove yet more remnants of NV_fragment_program.
Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/getstring.c')
-rw-r--r--src/mesa/main/getstring.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c
index 57c7b339b50..a04db0dc708 100644
--- a/src/mesa/main/getstring.c
+++ b/src/mesa/main/getstring.c
@@ -137,8 +137,7 @@ _mesa_GetString( GLenum name )
return shading_language_version(ctx);
case GL_PROGRAM_ERROR_STRING_NV:
if (ctx->API == API_OPENGL &&
- (ctx->Extensions.NV_fragment_program ||
- ctx->Extensions.ARB_fragment_program ||
+ (ctx->Extensions.ARB_fragment_program ||
ctx->Extensions.ARB_vertex_program)) {
return (const GLubyte *) ctx->Program.ErrorString;
}