diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2021-07-04 14:30:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-04 14:30:34 +0200 |
commit | 3091850909b584763443168a0cb93e40fd3a3a74 (patch) | |
tree | 7cff68c0b54a7f05cef018124d9f213fa9150af7 /src/RendererSection.hpp | |
parent | Merge pull request #63 from LaG1924/ftr/cmake-minor-improvements (diff) | |
parent | Tint calculation moved to vertex shader (diff) | |
download | AltCraft-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.hpp | 13 |
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; |