[gtk/ebassi/issue-3522] Fix the Vulkan header check for VK_RESULT_RANGE_SIZE




commit f22ec063a197c4f0af124aa44e7bdcc1c2add2dc
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Dec 28 18:41:18 2020 +0000

    Fix the Vulkan header check for VK_RESULT_RANGE_SIZE
    
    The VK_RESULT_RANGE_SIZE enumeration value was removed in 1.2.140, not
    1.2.142.
    
    Fixes: #3522

 gdk/gdkvulkancontext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c
index a561476dce..13ba8dae8b 100644
--- a/gdk/gdkvulkancontext.c
+++ b/gdk/gdkvulkancontext.c
@@ -225,7 +225,7 @@ gdk_vulkan_strerror (VkResult result)
     case VK_ERROR_PIPELINE_COMPILE_REQUIRED_EXT:
       return "A requested pipeline creation would have required compilation, but the application requested 
compilation to not be performed.";
 #endif
-#if VK_HEADER_VERSION < 142
+#if VK_HEADER_VERSION < 140
     case VK_RESULT_RANGE_SIZE:
 #endif
     case VK_RESULT_MAX_ENUM:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]