Fix the build - there's a Vec3 name collision, fixed it using a namespace.

This commit is contained in:
Henrik Rydgård committed 2019-10-22 22:58:10 +02:00
1 parent ae286aef86
commit 767b1e45b2
24 files changed
+60 -15

No files matched your search

+1 -1
View File
@@ -317,7 +317,7 @@ 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++) {
Vec3 v(vtx[i].x, vtx[i].y, 0.0f);
Lin::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;