Skip to content

Commit c3b1da1

Browse files
committed
Remove vk_platform include
That header shouldn't be included explicitly
1 parent 2897923 commit c3b1da1

37 files changed

+0
-67
lines changed

attachments/00_base_code.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#else
55
import vulkan_hpp;
66
#endif
7-
#include <vulkan/vk_platform.h>
87
#include <GLFW/glfw3.h>
98

109
#include <iostream>

attachments/01_instance_creation.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
import vulkan_hpp;
1111
#endif
1212

13-
#include <vulkan/vk_platform.h>
14-
1513
#define GLFW_INCLUDE_VULKAN // REQUIRED only for GLFW CreateWindowSurface.
1614
#include <GLFW/glfw3.h>
1715

attachments/02_validation_layers.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
import vulkan_hpp;
1313
#endif
1414

15-
#include <vulkan/vk_platform.h>
16-
1715
#define GLFW_INCLUDE_VULKAN // REQUIRED only for GLFW CreateWindowSurface.
1816
#include <GLFW/glfw3.h>
1917

attachments/03_physical_device_selection.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
import vulkan_hpp;
1313
#endif
1414

15-
#include <vulkan/vk_platform.h>
16-
1715
#define GLFW_INCLUDE_VULKAN // REQUIRED only for GLFW CreateWindowSurface.
1816
#include <GLFW/glfw3.h>
1917

attachments/04_logical_device.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
import vulkan_hpp;
1414
#endif
1515

16-
#include <vulkan/vk_platform.h>
17-
1816
#define GLFW_INCLUDE_VULKAN // REQUIRED only for GLFW CreateWindowSurface.
1917
#include <GLFW/glfw3.h>
2018

attachments/05_window_surface.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
import vulkan_hpp;
1313
#endif
1414

15-
#include <vulkan/vk_platform.h>
16-
1715
#define GLFW_INCLUDE_VULKAN // REQUIRED only for GLFW CreateWindowSurface.
1816
#include <GLFW/glfw3.h>
1917

attachments/06_swap_chain_creation.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
import vulkan_hpp;
1515
#endif
1616

17-
#include <vulkan/vk_platform.h>
18-
1917
#define GLFW_INCLUDE_VULKAN // REQUIRED only for GLFW CreateWindowSurface.
2018
#include <GLFW/glfw3.h>
2119

attachments/07_image_views.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
import vulkan_hpp;
1515
#endif
1616

17-
#include <vulkan/vk_platform.h>
18-
1917
#define GLFW_INCLUDE_VULKAN // REQUIRED only for GLFW CreateWindowSurface.
2018
#include <GLFW/glfw3.h>
2119

attachments/08_graphics_pipeline.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
import vulkan_hpp;
1515
#endif
1616

17-
#include <vulkan/vk_platform.h>
18-
1917
#define GLFW_INCLUDE_VULKAN // REQUIRED only for GLFW CreateWindowSurface.
2018
#include <GLFW/glfw3.h>
2119

attachments/09_shader_modules.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
import vulkan_hpp;
1616
#endif
1717

18-
#include <vulkan/vk_platform.h>
19-
2018
#define GLFW_INCLUDE_VULKAN // REQUIRED only for GLFW CreateWindowSurface.
2119
#include <GLFW/glfw3.h>
2220

0 commit comments

Comments
 (0)