Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/application
diff options
context:
space:
mode:
authorKai Blaschke <kai.blaschke@kb-dev.net>2024-02-19 23:29:39 +0100
committerKai Blaschke <kai.blaschke@kb-dev.net>2024-02-19 23:44:59 +0100
commitd0099a6d790b66f21e4e266e569d64fb82fb0a81 (patch)
tree69174faa3f95079e5e33e00970d161c9b3f02048 /source/application
parent42fc1d6714036a2814f1e6ab293eaa0009320ef4 (diff)
Fixed some uninitialized members
May have caused undefined behavior in few cases, as most of the fixed members were used before being initialized.
Diffstat (limited to 'source/application')
-rw-r--r--source/application/StarRenderer_opengl20.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/application/StarRenderer_opengl20.hpp b/source/application/StarRenderer_opengl20.hpp
index 4d917d5..cbf3924 100644
--- a/source/application/StarRenderer_opengl20.hpp
+++ b/source/application/StarRenderer_opengl20.hpp
@@ -143,7 +143,7 @@ private:
HashSet<TexturePtr> usedTextures;
List<GlVertexBuffer> vertexBuffers;
- bool useMultiTexturing;
+ bool useMultiTexturing{true};
};
struct EffectParameter {