diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-25 23:49:27 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-25 23:49:27 +0000 |
commit | 7b462801d500b43bd7ebebe69c2e8a9d5e3f1261 (patch) | |
tree | 3c0c941cd7a98defb8d8e138f0c0ddb5d5903c68 /gfx/gl | |
parent | Add traits helpers for glTexParameter functions (diff) | |
download | ilt-7b462801d500b43bd7ebebe69c2e8a9d5e3f1261.tar.bz2 ilt-7b462801d500b43bd7ebebe69c2e8a9d5e3f1261.tar.xz ilt-7b462801d500b43bd7ebebe69c2e8a9d5e3f1261.zip |
Remove the static texture cache
Static variables persist too long, destruction is unmanaged and occurs after the gl
context is gone.
Diffstat (limited to 'gfx/gl')
-rw-r--r-- | gfx/gl/shadowMapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/gl/shadowMapper.h b/gfx/gl/shadowMapper.h index bf571f8..d1e4e10 100644 --- a/gfx/gl/shadowMapper.h +++ b/gfx/gl/shadowMapper.h @@ -3,13 +3,13 @@ #include "config/types.h" #include "lib/glArrays.h" #include "program.h" +#include <gfx/models/texture.h> #include <glm/vec2.hpp> +#include <vector> class SceneProvider; class Camera; -#include <gfx/models/texture.h> - class ShadowMapper { public: explicit ShadowMapper(const TextureAbsCoord & size); |