Remove "Using present mode" verbose prints in Vulkan and Direct3D 12
These messages were printed every time the swapchain was recreated (e.g. on viewport size change), which could easily end up spamming the output. The chosen present mode is already displayed when using the Print FPS project setting or command line argument.
This commit is contained in:
@@ -2459,8 +2459,6 @@ Error RenderingDeviceDriverD3D12::swap_chain_resize(CommandQueueID p_cmd_queue,
|
||||
break;
|
||||
}
|
||||
|
||||
print_verbose("Using swap chain flags: " + itos(creation_flags) + ", sync interval: " + itos(sync_interval) + ", present flags: " + itos(present_flags));
|
||||
|
||||
if (swap_chain->d3d_swap_chain != nullptr && creation_flags != swap_chain->creation_flags) {
|
||||
// The swap chain must be recreated if the creation flags are different.
|
||||
_swap_chain_release(swap_chain);
|
||||
|
||||
Reference in New Issue
Block a user