projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4202b
)
vulkaninfo: Prevent surface creation silent failure
author
Petr Kraus
<petr_kraus@email.cz>
Wed, 6 Mar 2019 00:09:58 +0000
(
01:09
+0100)
committer
jeremyk-lunarg
<jeremyk@lunarg.com>
Thu, 7 Mar 2019 20:05:44 +0000
(13:05 -0700)
vulkaninfo/vulkaninfo.c
patch
|
blob
|
history
diff --git
a/vulkaninfo/vulkaninfo.c
b/vulkaninfo/vulkaninfo.c
index
f27b892
..
1113667
100644
(file)
--- a/
vulkaninfo/vulkaninfo.c
+++ b/
vulkaninfo/vulkaninfo.c
@@
-1206,7
+1206,7
@@
static void AppCreateXcbWindow(struct AppInstance *inst) {
static VkSurfaceKHR AppCreateXcbSurface(struct AppInstance *inst) {
if (!inst->xcb_connection) {
-
return VK_NULL_HANDLE
;
+
ERR_EXIT(VK_ERROR_INITIALIZATION_FAILED)
;
}
VkXcbSurfaceCreateInfoKHR xcb_createInfo;