From: Dave Airlie Date: Wed, 8 Sep 2004 08:51:12 +0000 (+0000) Subject: updated patch for vertex program X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c18fe0c92b69e25a95f773875825f092caa43cc2;p=mesa.git updated patch for vertex program --- diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index 1db360def81..4151b1598ed 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -410,7 +410,7 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual, if(driQueryOptionb(&rmesa->optionCache, "arb_vertex_program")) _mesa_enable_extension( ctx, "GL_ARB_vertex_program"); if(driQueryOptionb(&rmesa->optionCache, "nv_vertex_program")) - _mesa_enable_extension( ctx, "GL_NV_VERTEX_PROGRAM"); + _mesa_enable_extension( ctx, "GL_NV_vertex_program"); #if 0 r200InitDriverFuncs( ctx ); diff --git a/src/mesa/drivers/dri/r200/r200_screen.c b/src/mesa/drivers/dri/r200/r200_screen.c index 49d564a737f..e338e5b353c 100644 --- a/src/mesa/drivers/dri/r200/r200_screen.c +++ b/src/mesa/drivers/dri/r200/r200_screen.c @@ -80,7 +80,7 @@ DRI_CONF_BEGIN DRI_CONF_NV_VERTEX_PROGRAM(false) DRI_CONF_SECTION_END DRI_CONF_END; -static const GLuint __driNConfigOptions = 11; +static const GLuint __driNConfigOptions = 13; #if 1 /* Including xf86PciInfo.h introduces a bunch of errors...