summaryrefslogtreecommitdiffstats
path: root/src/Rml.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2023-07-08 21:41:27 +0200
committerGitHub <noreply@github.com>2023-07-08 21:41:27 +0200
commita68f48ad526d0843eb451af0be7f119db5ff794e (patch)
tree3c539c9e7de841c6616f532dadb7c8c1ef552d95 /src/Rml.hpp
parentMerge pull request #80 from LaG1924/ftr/better-water (diff)
parentFixed some errors detected by static analysis (diff)
downloadAltCraft-master.tar
AltCraft-master.tar.gz
AltCraft-master.tar.bz2
AltCraft-master.tar.lz
AltCraft-master.tar.xz
AltCraft-master.tar.zst
AltCraft-master.zip
Diffstat (limited to 'src/Rml.hpp')
-rw-r--r--src/Rml.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Rml.hpp b/src/Rml.hpp
index 2e3a672..6936ed9 100644
--- a/src/Rml.hpp
+++ b/src/Rml.hpp
@@ -35,7 +35,7 @@ class RmlRenderInterface : public Rml::RenderInterface {
std::shared_ptr<Gal::Buffer> vertexBuffer, indexBuffer;
std::map<size_t, std::shared_ptr<Gal::Texture>> textures;
- unsigned int vpWidth, vpHeight;
+ unsigned int vpWidth=0, vpHeight=0;
public:
RmlRenderInterface();