(gfx) Fix uninitialized variables in gfx_display_draw_cursor

This commit is contained in:
Connor McLaughlin 2021-06-22 13:43:31 +10:00
parent 3f00d2f041
commit 5d3719df44

View File

@ -1055,6 +1055,8 @@ void gfx_display_draw_cursor(
draw.texture = texture;
draw.prim_type = GFX_DISPLAY_PRIM_TRIANGLESTRIP;
draw.pipeline_id = 0;
draw.scale_factor = 1.0f;
draw.rotation = 0.0f;
if (dispctx->blend_begin)
dispctx->blend_begin(userdata);