mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
This one uses one float per vertex, whether snow is enabled or not
This commit is contained in:
parent
2be4ca1755
commit
53c7bfc501
@ -2818,11 +2818,7 @@ static void xmb_init_ribbon(xmb_handle_t * xmb)
|
|||||||
|
|
||||||
vertices_total = XMB_RIBBON_VERTICES;
|
vertices_total = XMB_RIBBON_VERTICES;
|
||||||
|
|
||||||
if (settings->menu.xmb.shader_pipeline == XMB_SHADER_PIPELINE_SNOW)
|
dummy = (float*)calloc(4 * vertices_total, sizeof(float));
|
||||||
dummy = (float*)calloc(4 * 4, sizeof(float));
|
|
||||||
else
|
|
||||||
dummy = (float*)calloc(4 * vertices_total, sizeof(float));
|
|
||||||
|
|
||||||
ribbon_verts = (float*)calloc(2 * vertices_total, sizeof(float));
|
ribbon_verts = (float*)calloc(2 * vertices_total, sizeof(float));
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user