]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderer.cpp
Adapt to changes in mspmath
[libs/gl.git] / source / render / renderer.cpp
index 2b1503ce23c847b025b75325e2b7e2cb13960a53..6bbfbbe0d0785628b89d1ec7c84608b2f0905b93 100644 (file)
@@ -362,7 +362,7 @@ void Renderer::apply_state()
        if(changed&MATRIX)
        {
                standard_shdata.uniform(world_obj_matrix_tag, state.model_matrix);
-               LinAl::SquareMatrix<float, 3> nm = state.model_matrix.block<3, 3>(0, 0);
+               LinAl::Matrix<float, 3, 3> nm = state.model_matrix.block<3, 3>(0, 0);
                nm = transpose(invert(nm));
                standard_shdata.uniform(world_obj_normal_matrix_tag, nm);
                changed &= ~MATRIX;