blob: 536a69bcbbd3f72a9b3aa940755b55f38b82787f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1255
vkerror.c:66:16: error: use of undeclared identifier 'VK_RESULT_BEGIN_RANGE'
if (result < VK_RESULT_BEGIN_RANGE)
^
--- ext/vulkan/vkerror.c.orig 2019-04-19 09:16:36 UTC
+++ ext/vulkan/vkerror.c
@@ -27,7 +27,7 @@
#include "vkerror.h"
/* *INDENT-OFF* */
-static const struct
+static const struct
{
VkResult result;
const char *str;
@@ -63,8 +63,6 @@ _vk_result_to_string (VkResult result)
if (result >= 0)
return NULL;
- if (result < VK_RESULT_BEGIN_RANGE)
- return "Unknown Error";
for (i = 0; i < G_N_ELEMENTS (vk_result_string_map); i++) {
if (result == vk_result_string_map[i].result)
|