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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user