summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2005-03-17 22:28:06 +0000
committerAapo Tahkola <aet@rasterburn.org>2005-03-17 22:28:06 +0000
commita890ceee639e37e2dba5a17dcef668aac5ba6fe0 (patch)
tree94d9cd6fd37759b3044fc639594b6223228c6071 /src/mesa
parent8a7dcd97bdc560a12cb7ea6bd66b17939946d5a6 (diff)
Fix to get doom3 started.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertexprog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertexprog.c b/src/mesa/drivers/dri/r300/r300_vertexprog.c
index 428fe41258..98bdebd2c8 100644
--- a/src/mesa/drivers/dri/r300/r300_vertexprog.c
+++ b/src/mesa/drivers/dri/r300/r300_vertexprog.c
@@ -897,6 +897,8 @@ static void r300ProgramStringNotify(GLcontext *ctx, GLenum target,
switch(target) {
case GL_VERTEX_PROGRAM_ARB:
vp->translated=GL_FALSE;
+ case GL_FRAGMENT_PROGRAM_ARB:
+ return ;
break;
}