Actually load up the mvp and normal matrices.

Rather critical. I thought I'd done that :/
This commit is contained in:
Bill Currie 2012-01-02 22:38:52 +09:00
parent 86edf54c40
commit c378acab6b

View file

@ -201,6 +201,8 @@ R_DrawAlias (void)
qfglUniform1f (quake_mdl.shadelight.location, shadelight);
qfglUniform3fv (quake_mdl.lightvec.location, 1, lightvec);
qfglUniform2fv (quake_mdl.skin_size.location, 1, skin_size);
qfglUniformMatrix4fv (quake_mdl.mvp_matrix.location, 1, false, mvp_mat);
qfglUniformMatrix3fv (quake_mdl.norm_matrix.location, 1, false, norm_mat);
qfglVertexAttribPointer (quake_mdl.vertex.location, 3, GL_BYTE,
0, sizeof (aliasvrt_t),