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-28 09:55:13 +0300
commit2ff490f9e3d61cfc5e18f1eb660aff80da7d021a (patch)
tree8a41e55c7850f86d5e498f9019a829e2ae148ba9 /source
parentb2cd225623dfdf4be7bf74ac90e79b48ee639366 (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 3923c920c9e..f834ee5b234 100644
--- a/source/blender/gpu/GPU_shader.h
+++ b/source/blender/gpu/GPU_shader.h
@@ -366,7 +366,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,