]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/camera.cpp
Initial implementation of Vulkan backend
[libs/gl.git] / source / render / camera.cpp
index 3ace92b9ecb7166de54fa20b33f07c943997dae1..9ecb79cd80643d4ce4e4d77f045d4354aebb37af 100644 (file)
@@ -139,6 +139,8 @@ void Camera::update_projection_matrix()
                proj_matrix = Matrix::ortho(left, right, bottom, top, clip_near, clip_far);
        proj_matrix = Matrix::rotation(rotate, Vector3(0, 0, 1))*proj_matrix;
 
+       adjust_projection_matrix(proj_matrix);
+
        shdata.uniform("clip_eye_matrix", proj_matrix);
        shdata.uniform("eye_clip_matrix", invert(proj_matrix));
 }