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/intern/gpu_immediate.c')
-rw-r--r--source/blender/gpu/intern/gpu_immediate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_immediate.c b/source/blender/gpu/intern/gpu_immediate.c
index dbe480993cb..7f5127408aa 100644
--- a/source/blender/gpu/intern/gpu_immediate.c
+++ b/source/blender/gpu/intern/gpu_immediate.c
@@ -483,7 +483,7 @@ static GLboolean end_begin(void)
GPU_IMMEDIATE->hasOverflowed = GL_TRUE;
#endif
- if (!ELEM6(
+ if (!ELEM(
GPU_IMMEDIATE->mode,
GL_NOOP,
GL_LINE_LOOP,