Skip to content

Commit

Permalink
vk: allow any size for buttons.png on android
Browse files Browse the repository at this point in the history
  • Loading branch information
flyinghead committed Jan 1, 2024
1 parent cab19ad commit e76b76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/rend/vulkan/vulkan_renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class BaseVulkanRenderer : public Renderer
vk::CommandBuffer cmdBuffer = texCommandPool.Allocate();
cmdBuffer.begin(vk::CommandBufferBeginInfo(vk::CommandBufferUsageFlagBits::eOneTimeSubmit));
vjoyTexture->SetCommandBuffer(cmdBuffer);
vjoyTexture->UploadToGPU(OSD_TEX_W, OSD_TEX_H, image_data, false);
vjoyTexture->UploadToGPU(w, h, image_data, false);
vjoyTexture->SetCommandBuffer(nullptr);
cmdBuffer.end();
texCommandPool.EndFrame();
Expand Down

0 comments on commit e76b76d

Please sign in to comment.