mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-11 16:49:27 +01:00
Start work on separating frame from backbuffer renderpass
This commit is contained in:
1 parent
4407445d50
commit
3b6fa9be87
5 files changed
+40
-34
No files matched your search
@@ -444,10 +444,10 @@ void FramebufferManagerVulkan::DrawTexture(VulkanTexture *texture, float x, 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);
|
||||
|
||||
Reference in new issue
Block a user