summaryrefslogtreecommitdiffstats
path: root/src/RendererSection.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-16 17:11:07 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-16 17:11:07 +0200
commitdee50239be8fff566b3ca687bc70900b391a8164 (patch)
tree6ff6ae2e8e2ea5109d031be8c588f4b8f38f68eb /src/RendererSection.hpp
parent2017-08-12 (diff)
downloadAltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar.gz
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar.bz2
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar.lz
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar.xz
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar.zst
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.zip
Diffstat (limited to '')
-rw-r--r--src/RendererSection.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/RendererSection.hpp b/src/RendererSection.hpp
index c165da4..57d04d5 100644
--- a/src/RendererSection.hpp
+++ b/src/RendererSection.hpp
@@ -25,9 +25,9 @@ class RendererSection : Renderer {
static std::map<GLuint, int> refCounterVbo;
static std::map<GLuint, int> refCounterVao;
- size_t numOfFaces = 0;
+
- bool isEnabled = true;
+ bool isEnabled = false;
size_t hash = 0;
public:
@@ -46,4 +46,6 @@ public:
Section *GetSection();
bool IsNeedResourcesPrepare() override;
+
+ size_t numOfFaces = 0;
}; \ No newline at end of file