Fix to get doom3 started.
authorAapo Tahkola <aet@rasterburn.org>
Thu, 17 Mar 2005 22:28:06 +0000 (22:28 +0000)
committerAapo Tahkola <aet@rasterburn.org>
Thu, 17 Mar 2005 22:28:06 +0000 (22:28 +0000)
src/mesa/drivers/dri/r300/r300_vertexprog.c

index 428fe41258a4bee0e7cccf0a0fb20eef906026c8..98bdebd2c84104aafd85c963530714c87e44af35 100644 (file)
@@ -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;
        }