summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@freedesktop.org>2004-12-30 10:27:04 +0000
committerVladimir Dergachev <volodya@freedesktop.org>2004-12-30 10:27:04 +0000
commitb53030a94cf582da007f0ce3d427618989aa7dea (patch)
tree7619019be4c740f5bb28622b1f3464bf6c270c2e /src/mesa/drivers
parenta656dc251e1a7ee1b989e05a0e46939376c64e85 (diff)
Hooked up projection matrix - the gears actually rotate !
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r300/r300_render.c2
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 93c3a63e47..cbd8f192a7 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);