Skip to content

Commit 382907f

Browse files
authored
Rename enabled_fse to fse_supported in Vulkan code
1 parent 624049f commit 382907f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

gfx/common/vulkan_common.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -829,12 +829,12 @@ static bool vulkan_context_init_device(gfx_ctx_vulkan_data_t *vk)
829829
return false;
830830
}
831831

832-
vk->enabled_fse = false;
832+
vk->fse_supported = false;
833833
for (unsigned i = 0; i < enabled_device_extension_count; i++)
834834
{
835835
if (!strcmp(enabled_device_extensions[i], "VK_EXT_full_screen_exclusive"))
836836
{
837-
vk->enabled_fse = true;
837+
vk->fse_supported = true;
838838
break;
839839
}
840840
}
@@ -1978,7 +1978,7 @@ bool vulkan_create_swapchain(gfx_ctx_vulkan_data_t *vk,
19781978
settings_t *settings = config_get_ptr();
19791979
bool vsync = settings->bools.video_vsync;
19801980
bool adaptive_vsync = settings->bools.video_adaptive_vsync;
1981-
bool enabled_fse;
1981+
bool fse_supported;
19821982
#ifdef VK_USE_PLATFORM_WIN32_KHR
19831983
bool video_windowed_fullscreen = settings->bools.video_windowed_fullscreen;
19841984
HMONITOR hmonitor;
@@ -2343,7 +2343,7 @@ bool vulkan_create_swapchain(gfx_ctx_vulkan_data_t *vk,
23432343
vkDestroySwapchainKHR(vk->context.device, old_swapchain, NULL);
23442344

23452345
#ifdef VK_USE_PLATFORM_WIN32_KHR
2346-
if (vk->enabled_fse)
2346+
if (vk->fse_supported)
23472347
{
23482348
hmonitor = MonitorFromWindow(GetActiveWindow(), MONITOR_DEFAULTTONEAREST);
23492349
fse_win32_info.hmonitor = hmonitor;

0 commit comments

Comments
 (0)