mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
Revert "Screen Resolution option fixes"
This commit is contained in:
parent
1811bd6885
commit
a56fcfb24a
@ -249,10 +249,6 @@ static bool gfx_ctx_w_vk_set_video_mode(void *data,
|
||||
RARCH_ERR("[WGL]: win32_set_video_mode failed.\n");
|
||||
goto error;
|
||||
}
|
||||
else
|
||||
/* This is required for fullscreen mailbox
|
||||
* not to crash after refresh rate change */
|
||||
vulkan_create_swapchain(&win32_vk, width, height, win32_vk_interval);
|
||||
|
||||
gfx_ctx_w_vk_swap_interval(data, win32_vk_interval);
|
||||
return true;
|
||||
|
@ -6211,7 +6211,7 @@ int action_cb_push_dropdown_item_resolution(const char *path,
|
||||
settings->uints.video_fullscreen_x = width;
|
||||
settings->uints.video_fullscreen_y = height;
|
||||
|
||||
return action_cancel_pop_default(NULL, NULL, 0, 0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -30504,11 +30504,6 @@ void video_monitor_set_refresh_rate(float hz)
|
||||
configuration_set_float(settings,
|
||||
settings->floats.video_refresh_rate,
|
||||
hz);
|
||||
|
||||
/* Without CMD_EVENT_REINIT vulkan will not switch rate properly,
|
||||
* and with other drivers it prevents switching properly.. */
|
||||
if (string_is_equal(settings->arrays.video_driver, "vulkan"))
|
||||
command_event(CMD_EVENT_REINIT, NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user