mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Add a way to pass out error messages from VulkanLoad
This commit is contained in:
1 parent
ddeb2112cc
commit
0caebbfaa6
6 files changed
+25
-16
No files matched your search
@@ -52,8 +52,9 @@ bool AndroidVulkanContext::InitAPI() {
|
||||
INFO_LOG(G3D, "Creating Vulkan context");
|
||||
Version gitVer(PPSSPP_GIT_VERSION);
|
||||
|
||||
if (!VulkanLoad()) {
|
||||
ERROR_LOG(G3D, "Failed to load Vulkan driver library");
|
||||
std::string errorStr;
|
||||
if (!VulkanLoad(&errorStr)) {
|
||||
ERROR_LOG(G3D, "Failed to load Vulkan driver library: %s", errorStr.c_str());
|
||||
state_ = GraphicsContextState::FAILED_INIT;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user