From: Vladimir Dergachev Date: Thu, 30 Dec 2004 10:27:04 +0000 (+0000) Subject: Hooked up projection matrix - the gears actually rotate ! X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b53030a94cf582da007f0ce3d427618989aa7dea;p=mesa.git Hooked up projection matrix - the gears actually rotate ! --- 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);