Browse Source

typo, #elif instead of #else, fixed

Peter Particle 8 years ago
parent
commit
337019a68f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/vulkan_example/main.cpp

+ 1 - 1
examples/vulkan_example/main.cpp

@@ -87,7 +87,7 @@ static void resize_vulkan(GLFWwindow* /*window*/, int w, int h)
 
 
 #ifdef IMGUI_UNLIMITED_FRAME_RATE
 #ifdef IMGUI_UNLIMITED_FRAME_RATE
         info.presentMode = VK_PRESENT_MODE_IMMEDIATE_KHR;
         info.presentMode = VK_PRESENT_MODE_IMMEDIATE_KHR;
-#elif
+#else
         info.presentMode = VK_PRESENT_MODE_FIFO_KHR;
         info.presentMode = VK_PRESENT_MODE_FIFO_KHR;
 #endif
 #endif
         info.clipped = VK_TRUE;
         info.clipped = VK_TRUE;