summaryrefslogtreecommitdiff
path: root/gfx/gl
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-11-28 16:53:57 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-11-28 16:53:57 +0000
commit04946e0b64e5bafcfb01cca515f5abc34386e15c (patch)
tree441a2131af5bd1ead38e8eceb39d0def2ba6b2e7 /gfx/gl
parentNo global static for factory map (diff)
downloadilt-04946e0b64e5bafcfb01cca515f5abc34386e15c.tar.bz2
ilt-04946e0b64e5bafcfb01cca515f5abc34386e15c.tar.xz
ilt-04946e0b64e5bafcfb01cca515f5abc34386e15c.zip
Fix up all remaining warnings
Diffstat (limited to 'gfx/gl')
-rw-r--r--gfx/gl/camera.cpp2
-rw-r--r--gfx/gl/shader.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/gfx/gl/camera.cpp b/gfx/gl/camera.cpp
index c957b2c..5a90d84 100644
--- a/gfx/gl/camera.cpp
+++ b/gfx/gl/camera.cpp
@@ -1,5 +1,5 @@
#include "camera.h"
-#include <glm/gtx/transform.hpp>
+#include <glm/gtx/transform.hpp> // IWYU pragma: keep
#include <maths.h>
Camera::Camera(glm::vec3 pos, float fov, float aspect, float zNear, float zFar) :
diff --git a/gfx/gl/shader.cpp b/gfx/gl/shader.cpp
index 14cf404..b8210d1 100644
--- a/gfx/gl/shader.cpp
+++ b/gfx/gl/shader.cpp
@@ -1,6 +1,7 @@
#include "shader.h"
#include "gfx/gl/shader-source.h"
#include <array>
+#include <cstddef>
#include <gfx/gl/shaders/fs-basicShader.h>
#include <gfx/gl/shaders/fs-landmassShader.h>
#include <gfx/gl/shaders/fs-waterShader.h>