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
46daaec425
commit
3c6a981fd9
Notes:
blender-bot
2023-02-14 06:47:29 +01:00
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue