diff options
author | Aapo Tahkola <[email protected]> | 2005-03-17 22:28:06 +0000 |
---|---|---|
committer | Aapo Tahkola <[email protected]> | 2005-03-17 22:28:06 +0000 |
commit | a890ceee639e37e2dba5a17dcef668aac5ba6fe0 (patch) | |
tree | 94d9cd6fd37759b3044fc639594b6223228c6071 /src/mesa/drivers | |
parent | 8a7dcd97bdc560a12cb7ea6bd66b17939946d5a6 (diff) |
Fix to get doom3 started.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_vertexprog.c | 2 |
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 428fe41258a..98bdebd2c84 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; } |