summaryrefslogtreecommitdiffstats
path: root/src/RendererSection.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-06-28 17:55:59 +0200
committerLaG1924 <lag1924@gmail.com>2021-06-28 17:55:59 +0200
commit7ff7b88cf66131a559ea0ee931bddce4785507a7 (patch)
tree11e2ff67d8e4ca2a7ba25c0ce70f2056e47eb723 /src/RendererSection.hpp
parentEmbed UV to vertex data (diff)
downloadAltCraft-7ff7b88cf66131a559ea0ee931bddce4785507a7.tar
AltCraft-7ff7b88cf66131a559ea0ee931bddce4785507a7.tar.gz
AltCraft-7ff7b88cf66131a559ea0ee931bddce4785507a7.tar.bz2
AltCraft-7ff7b88cf66131a559ea0ee931bddce4785507a7.tar.lz
AltCraft-7ff7b88cf66131a559ea0ee931bddce4785507a7.tar.xz
AltCraft-7ff7b88cf66131a559ea0ee931bddce4785507a7.tar.zst
AltCraft-7ff7b88cf66131a559ea0ee931bddce4785507a7.zip
Diffstat (limited to 'src/RendererSection.hpp')
-rw-r--r--src/RendererSection.hpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/RendererSection.hpp b/src/RendererSection.hpp
index 9bb55e3..3ea1fec 100644
--- a/src/RendererSection.hpp
+++ b/src/RendererSection.hpp
@@ -9,17 +9,8 @@ class RenderState;
class RendererSectionData;
class RendererSection {
- enum Vbos {
- POSITIONS = 0,
- UVS,
- UVLAYERS,
- ANIMATIONS,
- COLORS,
- LIGHTS,
- VBOCOUNT,
- };
GLuint Vao = { 0 };
- GLuint Vbo[VBOCOUNT] = { 0 };
+ GLuint Vbo = { 0 };
size_t hash;
Vector sectionPos;