Vulkan: Add better handling for errors
This commit is contained in:
@@ -83,6 +83,12 @@ namespace Nz
|
||||
}
|
||||
}
|
||||
|
||||
if (!chosenImpl)
|
||||
{
|
||||
NazaraError("No renderer found");
|
||||
return false;
|
||||
}
|
||||
|
||||
s_rendererImpl = std::move(chosenImpl);
|
||||
s_rendererLib = std::move(chosenLib);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user