diff options
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_vertexprog.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_vertexprog.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertexprog.c b/src/mesa/drivers/dri/r300/r300_vertexprog.c index b492355142..f45b8cf11b 100644 --- a/src/mesa/drivers/dri/r300/r300_vertexprog.c +++ b/src/mesa/drivers/dri/r300/r300_vertexprog.c @@ -934,7 +934,10 @@ void translate_vertex_shader(struct r300_vertex_program *vp) if(u_temp_i < vp->num_temporaries){ WARN_ONCE("Ran out of temps, num temps %d, us %d\n", vp->num_temporaries, u_temp_i); vp->translated=GL_TRUE; //GL_FALSE; /* temps exhausted - program cannot be run */ - }else + vp->native = GL_FALSE; + }else{ vp->translated=GL_TRUE; + vp->native = GL_TRUE; + } } |