Vulkan: Tweak init error logging on Android.

This commit is contained in:
Unknown W. Brackets 2016-10-01 11:36:50 -07:00
parent 6ac166b05f
commit 86b3d4e6d9

View File

@ -257,6 +257,7 @@ bool AndroidVulkanContext::Init(ANativeWindow *wnd, int desiredBackbufferSizeX,
ILOG("Creating vulkan device");
if (g_Vulkan->CreateDevice(0) != VK_SUCCESS) {
ILOG("Failed to create vulkan device: %s", g_Vulkan->InitError().c_str());
return false;
}
int width = desiredBackbufferSizeX;