From 37474eca68ce5be9ac3746f700bc220b0f4c5420 Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Tue, 6 Jun 2006 23:44:05 +0000 Subject: [PATCH] prevent possible program mix up with sw vps (Roland Scheidegger) --- src/mesa/drivers/dri/r300/r300_shader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/r300/r300_shader.c b/src/mesa/drivers/dri/r300/r300_shader.c index f32e86065dd..e7abb59b1b5 100644 --- a/src/mesa/drivers/dri/r300/r300_shader.c +++ b/src/mesa/drivers/dri/r300/r300_shader.c @@ -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) -- 2.30.2