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.
This commit is contained in:
Jeroen Bakker 2021-06-28 08:51:37 +02:00
parent b2cd225623
commit 2ff490f9e3
Notes: blender-bot 2023-02-14 11:18:07 +01:00
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
1 changed files with 0 additions and 1 deletions

View File

@ -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,