fix read of uninitialized memory.

This commit is contained in:
aliaspider 2018-01-25 15:44:35 +01:00
parent 183d2fcabd
commit 74013c220a

View File

@ -1136,6 +1136,7 @@ void menu_display_draw_cursor(
draw.matrix_data = NULL;
draw.texture = texture;
draw.prim_type = MENU_DISPLAY_PRIM_TRIANGLESTRIP;
draw.pipeline.id = 0;
menu_display_draw(&draw);