From c7bc16811c173cc8a8c9d66661c5b06953570287 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 2 Dec 2017 20:15:32 -0500 Subject: [PATCH 1/2] VKTexture: Remove unimplemented ScaleRectangleFromTexture() prototype --- Source/Core/VideoBackends/Vulkan/VKTexture.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/VideoBackends/Vulkan/VKTexture.h b/Source/Core/VideoBackends/Vulkan/VKTexture.h index 426f29973d..fc6bf2da60 100644 --- a/Source/Core/VideoBackends/Vulkan/VKTexture.h +++ b/Source/Core/VideoBackends/Vulkan/VKTexture.h @@ -30,8 +30,7 @@ public: void ScaleRectangleFromTexture(const AbstractTexture* source, const MathUtil::Rectangle& src_rect, const MathUtil::Rectangle& dst_rect); - void ScaleRectangleFromTexture(Texture2D* src_texture, const MathUtil::Rectangle& src_rect, - const MathUtil::Rectangle& dst_rect); + void Load(u32 level, u32 width, u32 height, u32 row_length, const u8* buffer, size_t buffer_size) override; From 6ca85dbf0abde5ab014b4d614d94f393667ec0f2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 2 Dec 2017 20:16:26 -0500 Subject: [PATCH 2/2] VKTexture: Add missing override specifier to the other ScaleRectangeFromTexture() prototype --- Source/Core/VideoBackends/Vulkan/VKTexture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/Vulkan/VKTexture.h b/Source/Core/VideoBackends/Vulkan/VKTexture.h index fc6bf2da60..380cb19393 100644 --- a/Source/Core/VideoBackends/Vulkan/VKTexture.h +++ b/Source/Core/VideoBackends/Vulkan/VKTexture.h @@ -29,7 +29,7 @@ public: u32 dst_layer, u32 dst_level) override; void ScaleRectangleFromTexture(const AbstractTexture* source, const MathUtil::Rectangle& src_rect, - const MathUtil::Rectangle& dst_rect); + const MathUtil::Rectangle& dst_rect) override; void Load(u32 level, u32 width, u32 height, u32 row_length, const u8* buffer, size_t buffer_size) override;