- Get rid of unused Vulkan SwapChain code
- Get rid of unused GetRefreshRate OS-specific code - Get rid of unused GetHostRefreshRate code - Get rid of unused Vulkan-context CreateVulkanInstance/SelectInstanceExtensions/ContextCreate - Get rid of unused Vulkan-context threading code - Get rid of unused Vulkan-context Present code (unused for libretro core)
This commit is contained in:
parent
44229e216f
commit
1753e731da
10 changed files with 2 additions and 1510 deletions
|
|
@ -90,17 +90,6 @@ bool HostDisplay::SetDisplayPixels(HostDisplayPixelFormat format, u32 width, u32
|
|||
return true;
|
||||
}
|
||||
|
||||
bool HostDisplay::GetHostRefreshRate(float* refresh_rate)
|
||||
{
|
||||
if (m_window_info.surface_refresh_rate > 0.0f)
|
||||
{
|
||||
*refresh_rate = m_window_info.surface_refresh_rate;
|
||||
return true;
|
||||
}
|
||||
|
||||
return WindowInfo::QueryRefreshRateForWindow(m_window_info, refresh_rate);
|
||||
}
|
||||
|
||||
void HostDisplay::SetSoftwareCursor(std::unique_ptr<HostDisplayTexture> texture, float scale /*= 1.0f*/)
|
||||
{
|
||||
m_cursor_texture = std::move(texture);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue