From: Eric Anholt Date: Tue, 8 Jan 2013 00:58:58 +0000 (-0800) Subject: mesa: Drop a comment about ff vertex shading and texturing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5788146bac2b9da48cacad758dbe7868503cf76;p=mesa.git mesa: Drop a comment about ff vertex shading and texturing. It's never going to have texture fetches. Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick --- diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index 8e9bbf6a180..3adea542f57 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -500,11 +500,6 @@ update_texture_state( struct gl_context *ctx ) if (ctx->Shader.CurrentVertexProgram && ctx->Shader.CurrentVertexProgram->LinkStatus) { vprog = ctx->Shader.CurrentVertexProgram->_LinkedShaders[MESA_SHADER_VERTEX]->Program; - } else if (ctx->VertexProgram._Enabled) { - /* XXX enable this if/when non-shader vertex programs get - * texture fetches: - vprog = &ctx->VertexProgram.Current->Base; - */ } if (ctx->Shader.CurrentFragmentProgram &&