summaryrefslogtreecommitdiffstats
path: root/src/RendererSection.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2021-07-04 14:30:34 +0200
committerGitHub <noreply@github.com>2021-07-04 14:30:34 +0200
commit3091850909b584763443168a0cb93e40fd3a3a74 (patch)
tree7cff68c0b54a7f05cef018124d9f213fa9150af7 /src/RendererSection.hpp
parentMerge pull request #63 from LaG1924/ftr/cmake-minor-improvements (diff)
parentTint calculation moved to vertex shader (diff)
downloadAltCraft-3091850909b584763443168a0cb93e40fd3a3a74.tar
AltCraft-3091850909b584763443168a0cb93e40fd3a3a74.tar.gz
AltCraft-3091850909b584763443168a0cb93e40fd3a3a74.tar.bz2
AltCraft-3091850909b584763443168a0cb93e40fd3a3a74.tar.lz
AltCraft-3091850909b584763443168a0cb93e40fd3a3a74.tar.xz
AltCraft-3091850909b584763443168a0cb93e40fd3a3a74.tar.zst
AltCraft-3091850909b584763443168a0cb93e40fd3a3a74.zip
Diffstat (limited to 'src/RendererSection.hpp')
-rw-r--r--src/RendererSection.hpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/RendererSection.hpp b/src/RendererSection.hpp
index 29b5db1..3ea1fec 100644
--- a/src/RendererSection.hpp
+++ b/src/RendererSection.hpp
@@ -9,20 +9,9 @@ class RenderState;
class RendererSectionData;
class RendererSection {
- enum Vbos {
- MODELS = 0,
- TEXTURES,
- LAYERS,
- FRAMES,
- COLORS,
- LIGHTS,
- VBOCOUNT,
- };
GLuint Vao = { 0 };
- GLuint Vbo[VBOCOUNT] = { 0 };
+ GLuint Vbo = { 0 };
- static GLuint VboVertices, VboUvs;
-
size_t hash;
Vector sectionPos;