mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-11 15:13:37 +02:00
Start work on separating frame from backbuffer renderpass
This commit is contained in:
@@ -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