From: Eric Anholt Date: Tue, 9 Oct 2012 22:11:57 +0000 (-0700) Subject: swrast: Remove support for GL_NV_vertex_program. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cff1b1df4b7046359b9bf1c4072a241e8ecf1947;p=mesa.git swrast: Remove support for GL_NV_vertex_program. It's not supported in any hardware drivers, and doesn't appear to be useful on Linux. Reviewed-by: Brian Paul --- diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 82dd7abf8dd..7596973b028 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -663,7 +663,6 @@ static const char *es2_extensions[] = { "GL_EXT_framebuffer_blit", "GL_IBM_multimode_draw_arrays", "GL_MESA_window_pos", - "GL_NV_vertex_program", /* Required by GLES2 */ "GL_ARB_fragment_program", diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 4971ebc930d..1bdd1b1b9a4 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -475,8 +475,6 @@ _mesa_enable_sw_extensions(struct gl_context *ctx) ctx->Extensions.NV_texture_env_combine4 = GL_TRUE; ctx->Extensions.NV_texture_rectangle = GL_TRUE; /*ctx->Extensions.NV_texgen_reflection = GL_TRUE;*/ - ctx->Extensions.NV_vertex_program = GL_TRUE; - ctx->Extensions.NV_vertex_program1_1 = GL_TRUE; ctx->Extensions.NV_fragment_program = GL_TRUE; ctx->Extensions.NV_fragment_program_option = GL_TRUE; ctx->Extensions.EXT_gpu_program_parameters = GL_TRUE;