diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2023-07-08 21:41:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 21:41:27 +0200 |
commit | a68f48ad526d0843eb451af0be7f119db5ff794e (patch) | |
tree | 3c539c9e7de841c6616f532dadb7c8c1ef552d95 /src/Rml.hpp | |
parent | Merge pull request #80 from LaG1924/ftr/better-water (diff) | |
parent | Fixed some errors detected by static analysis (diff) | |
download | AltCraft-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.hpp | 2 |
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(); |