summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAapo Tahkola <[email protected]>2006-06-06 23:44:05 +0000
committerAapo Tahkola <[email protected]>2006-06-06 23:44:05 +0000
commit37474eca68ce5be9ac3746f700bc220b0f4c5420 (patch)
tree7695f2ebcc55429e1b883f7e3a76fbe9be5ab07e /src
parent9248882ca27b289180a76262aa3d9b26c0cb0e8b (diff)
prevent possible program mix up with sw vps (Roland Scheidegger)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r300_shader.c2
1 files changed, 2 insertions, 0 deletions
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)