Hooked up projection matrix - the gears actually rotate !

This commit is contained in:
Vladimir Dergachev 2004-12-30 10:27:04 +00:00
parent a656dc251e
commit b53030a94c
1 changed files with 2 additions and 0 deletions

View File

@ -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);