From 81051dd218aa70cf434358de9a993d5358a8a5e1 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 25 Sep 2021 18:39:47 +0300 Subject: [PATCH] Remove the now unused BufferBits enum --- source/core/framebuffer.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/source/core/framebuffer.h b/source/core/framebuffer.h index 48888459..a58d31d8 100644 --- a/source/core/framebuffer.h +++ b/source/core/framebuffer.h @@ -4,7 +4,6 @@ #include #include "color.h" #include "frameformat.h" -#include "gl.h" #include "texturecube.h" #include #include @@ -20,13 +19,6 @@ class Texture2DMultisample; class Texture3D; class WindowView; -enum BufferBits -{ - COLOR_BUFFER_BIT = GL_COLOR_BUFFER_BIT, - DEPTH_BUFFER_BIT = GL_DEPTH_BUFFER_BIT, - STENCIL_BUFFER_BIT = GL_STENCIL_BUFFER_BIT -}; - class framebuffer_incomplete: public std::runtime_error { public: @@ -142,9 +134,6 @@ union ClearValue ClearValue(): color(0.0f, 0.0f, 0.0f, 0.0f) { } }; -inline BufferBits operator|(BufferBits a, BufferBits b) -{ return static_cast(static_cast(a)|static_cast(b)); } - } // namespace GL } // namespace Msp -- 2.43.0