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:
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
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue