Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/opengl/gl_state.hh')
-rw-r--r--source/blender/gpu/opengl/gl_state.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_state.hh b/source/blender/gpu/opengl/gl_state.hh
index ea3ab512431..577e8f9eb1c 100644
--- a/source/blender/gpu/opengl/gl_state.hh
+++ b/source/blender/gpu/opengl/gl_state.hh
@@ -20,6 +20,8 @@
* \ingroup gpu
*/
+#include "MEM_guardedalloc.h"
+
#include "BLI_utildefines.h"
#include "gpu_state_private.hh"
@@ -52,6 +54,8 @@ class GLStateStack : public GPUStateStack {
static void set_provoking_vert(const eGPUProvokingVertex vert);
static void set_shadow_bias(const bool enable);
static void set_blend(const eGPUBlend value);
+
+ MEM_CXX_CLASS_ALLOC_FUNCS("GLStateStack")
};
} // namespace gpu