From: Aapo Tahkola Date: Thu, 17 Mar 2005 22:28:06 +0000 (+0000) Subject: Fix to get doom3 started. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a890ceee639e37e2dba5a17dcef668aac5ba6fe0;p=mesa.git Fix to get doom3 started. --- 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; }