Skip to content

Commit aa79670

Browse files
committed
disp/vulkan: Drop standard layout requirement
Not really needed
1 parent 36a2f2d commit aa79670

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/video_display/vulkan/vulkan_sdl2.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
#include <queue>
9898
#include <string>
9999
#include <string_view>
100-
#include <type_traits>
101100
#include <unordered_map>
102101
#include <utility> // pair
103102

@@ -217,9 +216,6 @@ struct state_vulkan_sdl2 {
217216
}
218217
};
219218

220-
// make sure that state_vulkan_sdl2 is C compatible
221-
static_assert(std::is_standard_layout_v<state_vulkan_sdl2>);
222-
223219
//todo C++20 : change to to_array
224220
constexpr std::array<std::pair<char, std::string_view>, 3> display_vulkan_keybindings{{
225221
{'d', "toggle deinterlace"},

0 commit comments

Comments
 (0)