diff options
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_render.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c index 93c3a63e478..cbd8f192a7a 100644 --- a/src/mesa/drivers/dri/r300/r300_render.c +++ b/src/mesa/drivers/dri/r300/r300_render.c @@ -277,6 +277,8 @@ static GLboolean r300_run_flat_render(GLcontext *ctx, reg_start(0x20b0,0); e32(0x0000043f); + + memcpy(FLAT_COLOR_PIPELINE.vertex_shader.parameters.body.f, ctx->_ModelProjectMatrix.m, 16*4); program_pipeline(PASS_PREFIX &FLAT_COLOR_PIPELINE); |