diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-06 17:34:40 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-06 17:59:28 +0200 |
commit | 4ef122afaedc22b4e79c1d3cae3e97e74b11208a (patch) | |
tree | 7ad93839de0d5737b8ba8a11bcf86b6c43e91e43 /shaders | |
parent | 27dc0027f294b8b3ed9a5dac5809c7fbaeb20ddb (diff) |
c
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/shader.cpp | 1 | ||||
-rw-r--r-- | shaders/shader.hpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shaders/shader.cpp b/shaders/shader.cpp index 8ceb5c44..47a000a2 100644 --- a/shaders/shader.cpp +++ b/shaders/shader.cpp @@ -2,6 +2,7 @@ #include "loader/loader.hpp" #include "compat/assert.hpp" #include "src/local-coords.hpp" +#include "texture-unit-cache.hpp" #include <cmath> #include <Corrade/Containers/Iterable.h> #include <Magnum/Math/Vector4.h> diff --git a/shaders/shader.hpp b/shaders/shader.hpp index b431cba0..a7716229 100644 --- a/shaders/shader.hpp +++ b/shaders/shader.hpp @@ -1,7 +1,5 @@ #pragma once #include "src/tile-defs.hpp" -#include "shaders/texture-unit-cache.hpp" -#include <utility> #include <Magnum/GL/AbstractShaderProgram.h> #include <Magnum/Math/Vector2.h> #include <Magnum/Math/Vector3.h> @@ -11,6 +9,7 @@ namespace Magnum::GL { class AbstractTexture; } namespace floormat { +struct texture_unit_cache; struct local_coords; struct tile_shader final : private GL::AbstractShaderProgram |