projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4be16c1
)
vulkan: fix some compiler warnings in gnu89 mode
author
Tim-Philipp Müller
<tim@centricular.com>
Fri, 22 Mar 2019 23:35:04 +0000
(23:35 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 22 Mar 2019 23:39:04 +0000
(23:39 +0000)
for loop variable initialization and conflicting types for i.
ext/vulkan/vkswapper.c
patch
|
blob
|
history
diff --git
a/ext/vulkan/vkswapper.c
b/ext/vulkan/vkswapper.c
index
89f027d
..
f576195
100644
(file)
--- a/
ext/vulkan/vkswapper.c
+++ b/
ext/vulkan/vkswapper.c
@@
-616,7
+616,7
@@
_allocate_swapchain (GstVulkanSwapper * swapper, GstCaps * caps,
* and is fastest (though it tears). If not, fall back to FIFO which is
* always available. */
present_mode = VK_PRESENT_MODE_FIFO_KHR;
- for (
gsize
i = 0; i < swapper->n_surf_present_modes; i++) {
+ for (i = 0; i < swapper->n_surf_present_modes; i++) {
if (swapper->surf_present_modes[i] == VK_PRESENT_MODE_MAILBOX_KHR) {
present_mode = VK_PRESENT_MODE_MAILBOX_KHR;
break;