From b53030a94cf582da007f0ce3d427618989aa7dea Mon Sep 17 00:00:00 2001 From: Vladimir Dergachev Date: Thu, 30 Dec 2004 10:27:04 +0000 Subject: [PATCH] Hooked up projection matrix - the gears actually rotate ! --- src/mesa/drivers/dri/r300/r300_render.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.30.2