projects
/
vkrt
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
changed depth format for the program to run on amd
[vkrt]
/
src
/
vk.c
diff --git
a/src/vk.c
b/src/vk.c
index
bde9972
..
480b6b8
100644
(file)
--- a/
src/vk.c
+++ b/
src/vk.c
@@
-1033,8
+1033,7
@@
are_props_supported(struct vk_ctx *ctx, struct vk_att_props *props)
/* usage can't be null */
if (flags) {
img_fmt_info.usage = flags;
- }
- else {
+ } else {
if (!props->is_swapchain) {
fprintf(stderr, "Unsupported Vulkan format properties: usage.\n");
return false;