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
path: root/source
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-06-28 09:51:37 +0300
committerJeroen Bakker <jeroen@blender.org>2021-06-30 10:27:33 +0300
commit3c6a981fd986e4c95cc979a502d06cf71e1f8a59 (patch)
tree2776c0183e45bcf7c1aa767c50b0fdfbff9f41c5 /source
parent46daaec425a13271b74db62c0da222ba4ac6eb23 (diff)
Fix: Crash Requesting GPU_SHADER_GPENCIL_FILL builtin shader.
Shader doesn't have any shader code. Requesting the shader would crash blender. Solved by removing the enum_value.
Diffstat (limited to 'source')
-rw-r--r--source/blender/gpu/GPU_shader.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h
index 9824c7016dc..484ab95c980 100644
--- a/source/blender/gpu/GPU_shader.h
+++ b/source/blender/gpu/GPU_shader.h
@@ -359,7 +359,6 @@ typedef enum eGPUBuiltinShader {
GPU_SHADER_INSTANCE_VARIYING_COLOR_VARIYING_SIZE, /* Uniformly scaled */
/* grease pencil drawing */
GPU_SHADER_GPENCIL_STROKE,
- GPU_SHADER_GPENCIL_FILL,
/* specialized for widget drawing */
GPU_SHADER_2D_AREA_EDGES,
GPU_SHADER_2D_WIDGET_BASE,