Declare DrawActiveTexture in FramebufferCommon

This commit is contained in:
Henrik Rydgard committed 2017-02-15 22:47:49 +01:00
1 parent 0fb1e95bac
commit 7652bc2d8b
7 files changed
+20 -17

No files matched your search

+4 -3
View File
@@ -480,11 +480,12 @@ void FramebufferManagerVulkan::DrawFramebufferToOutput(const u8 *srcPixels, GEBu
}
}
void FramebufferManagerVulkan::DrawActiveTexture(float x, float y, float w, float h, float destW, float destH, float u0, float v0, float u1, float v1, int uvRotation, bool linearFilter) {
// TODO
}
// x, y, w, h are relative coordinates against destW/destH, which is not very intuitive.
void FramebufferManagerVulkan::DrawTexture(VulkanTexture *texture, float x, float y, float w, float h, float destW, float destH, float u0, float v0, float u1, float v1, VkPipeline pipeline, int uvRotation) {
if (!texture)
return;
float texCoords[8] = {
u0,v0,
u1,v0,