diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-01-16 00:30:42 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-01-16 00:30:42 +0000 |
| commit | 2711f074b58e4ab54d45c1b696175808811d4ef8 (patch) | |
| tree | 9a13b58244ca27b2802b6f9002aefaeb76d13206 /ui/window.cpp | |
| parent | Pass shaders through glslangValidator (diff) | |
| download | ilt-2711f074b58e4ab54d45c1b696175808811d4ef8.tar.bz2 ilt-2711f074b58e4ab54d45c1b696175808811d4ef8.tar.xz ilt-2711f074b58e4ab54d45c1b696175808811d4ef8.zip | |
Tidy thirdparty jam, use -isystem for thirdparty includes
Removes the need to disable warnings for imgui includes.
Diffstat (limited to 'ui/window.cpp')
| -rw-r--r-- | ui/window.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/window.cpp b/ui/window.cpp index 06857b2..c85cebe 100644 --- a/ui/window.cpp +++ b/ui/window.cpp @@ -1,11 +1,8 @@ #include "window.h" -#include <glad/gl.h> -#include <glm/glm.hpp> -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wold-style-cast" #include "backends/imgui_impl_opengl3.h" #include "backends/imgui_impl_sdl2.h" -#pragma GCC diagnostic pop +#include <glad/gl.h> +#include <glm/glm.hpp> Window::Window(ScreenAbsCoord size, const char * title, Uint32 flags) : m_window {title, static_cast<int>(SDL_WINDOWPOS_CENTERED), static_cast<int>(SDL_WINDOWPOS_CENTERED), size.x, size.y, |
