This one uses one float per vertex, whether snow is enabled or not

This commit is contained in:
Alcaro 2016-11-18 17:10:45 +01:00
parent 2be4ca1755
commit 53c7bfc501

View File

@ -2818,11 +2818,7 @@ static void xmb_init_ribbon(xmb_handle_t * xmb)
vertices_total = XMB_RIBBON_VERTICES;
if (settings->menu.xmb.shader_pipeline == XMB_SHADER_PIPELINE_SNOW)
dummy = (float*)calloc(4 * 4, sizeof(float));
else
dummy = (float*)calloc(4 * vertices_total, sizeof(float));
dummy = (float*)calloc(4 * vertices_total, sizeof(float));
ribbon_verts = (float*)calloc(2 * vertices_total, sizeof(float));