Fix more review comments.

This commit is contained in:
Henrik Rydgård committed 2017-05-30 09:38:05 +02:00
1 parent e8890e3c4a
commit 137b79c708
6 files changed
+39 -35

No files matched your search

+4 -4
View File
@@ -340,10 +340,10 @@ void FramebufferManagerVulkan::DrawActiveTexture(float x, float y, float w, floa
}
Vulkan2D::Vertex vtx[4] = {
{x,y, 0,texCoords[0],texCoords[1]},
{x + w,y, 0,texCoords[2],texCoords[3]},
{x,y + h, 0,texCoords[6],texCoords[7] },
{x + w,y + h, 0,texCoords[4],texCoords[5] },
{x, y, 0, texCoords[0], texCoords[1]},
{x + w, y, 0, texCoords[2], texCoords[3]},
{x, y + h, 0, texCoords[6], texCoords[7]},
{x + w, y + h, 0, texCoords[4], texCoords[5]},
};
float invDestW = 1.0f / (destW * 0.5f);