mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 08:25:47 -04:00
WindowInfo: Add surface_scale field
This commit is contained in:
@ -767,6 +767,7 @@ void LibretroHostInterface::SwitchToHardwareRenderer()
|
||||
wi.display_connection = &g_libretro_host_interface.m_hw_render_callback;
|
||||
wi.surface_width = avi.geometry.base_width;
|
||||
wi.surface_height = avi.geometry.base_height;
|
||||
wi.surface_scale = 1.0f;
|
||||
if (!display || !display->CreateRenderDevice(wi, {}, g_libretro_host_interface.m_settings.gpu_use_debug_device))
|
||||
{
|
||||
Log_ErrorPrintf("Failed to create hardware host display");
|
||||
|
Reference in New Issue
Block a user