- create a new error class for vulkan errors as they are only recoverable during initialization (unlike CRecoverableError which is recoverable during normal processing)
- improve vulkan errors by including the status code returned by vulkan if they fail
This commit is contained in:
parent
afa644fe47
commit
756c593e96
9 changed files with 126 additions and 90 deletions
|
|
@ -137,7 +137,7 @@ void I_InitGraphics ()
|
|||
{
|
||||
Video = new Win32VulkanVideo();
|
||||
}
|
||||
catch (CRecoverableError &error)
|
||||
catch (CVulkanError &error)
|
||||
{
|
||||
Printf(TEXTCOLOR_RED "Initialization of Vulkan failed: %s\n", error.what());
|
||||
Video = new Win32GLVideo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue