prevent possible program mix up with sw vps (Roland Scheidegger)
authorAapo Tahkola <aet@rasterburn.org>
Tue, 6 Jun 2006 23:44:05 +0000 (23:44 +0000)
committerAapo Tahkola <aet@rasterburn.org>
Tue, 6 Jun 2006 23:44:05 +0000 (23:44 +0000)
src/mesa/drivers/dri/r300/r300_shader.c

index f32e86065dd74fff05595b7c3f3a1258a0fb4605..e7abb59b1b583ac7f1edd9aa9a06aeacaad140bb 100644 (file)
@@ -86,6 +86,8 @@ static void r300ProgramStringNotify(GLcontext *ctx, GLenum target,
                fp->translated = GL_FALSE;
        break;
        }
+       /* need this for tcl fallbacks */
+       _tnl_program_string(ctx, target, prog);
 }
 
 static GLboolean r300IsProgramNative(GLcontext *ctx, GLenum target, struct program *prog)