summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-11-26 15:06:42 +0000
committerVaxry <vaxry@vaxry.net>2023-11-26 15:06:42 +0000
commit408d96668d57fdd1a713e56f1d40a9befd51bd4a (patch)
tree5df08ca2a3506afa44bca786b31f80b7a4d13741 /src/render/OpenGL.hpp
parent75e579931088671fb333efd2a3923ff96b868fe9 (diff)
renderer: use occlusion checks for buffer clear
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index 9ff571f2..ea2fe07e 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -30,7 +30,8 @@ inline const float fullVerts[] = {
};
inline const float fanVertsFull[] = {-1.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f};
-enum eDiscardMode {
+enum eDiscardMode
+{
DISCARD_OPAQUE = 1,
DISCARD_ALPHA = 1 << 1
};