Fix the indirect postprocessing path. Fixes #12133 (but see the issue for a secondary bug).

This commit is contained in:
Henrik Rydgård committed 2019-08-04 18:01:36 +02:00
1 parent 4d6d12965b
commit 96a15cf525
4 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -305,8 +305,8 @@ void FramebufferManagerVulkan::DrawActiveTexture(float x, float y, float w, floa
if ((flags & DRAWTEX_TO_BACKBUFFER) && g_display_rotation != DisplayRotation::ROTATE_0) {
for (int i = 0; i < 4; i++) {
// backwards notation, should fix that...
Vec3 v(vtx[i].x, vtx[i].y, 0.0f);
// backwards notation, should fix that...
v = v * g_display_rot_matrix;
vtx[i].x = v.x;
vtx[i].y = v.y;