--- a/src/2d.c Fri Aug 01 18:19:33 2025 +0200 +++ b/src/2d.c Sat Aug 02 13:07:28 2025 +0200 @@ -97,7 +97,7 @@ asc_set_flag_if(flags, ASC_RECTANGLE_SHADER_FLAG_BORDER, border); // Look up and activate the shader - const AscShaderProgram *shader = asc_shader_lookup_or_create( + const AscShaderProgram *shader = asc_shader_lookup( ASC_SHADER_RECTANGLE(flags), asc_rectangle_shader_create, flags ); @@ -230,7 +230,7 @@ asc_set_flag_if(flags, ASC_ELLIPSIS_SHADER_FLAG_BORDER, border); // Look up and activate the shader - const AscShaderProgram *shader = asc_shader_lookup_or_create( + const AscShaderProgram *shader = asc_shader_lookup( ASC_SHADER_ELLIPSIS(flags), asc_ellipsis_shader_create, flags );