mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Cleanups
This commit is contained in:
parent
b3f486ae44
commit
5c0f7876b8
@ -73,15 +73,17 @@ static void menu_display_vk_draw(void *data)
|
||||
struct vk_vertex *pv = NULL;
|
||||
menu_display_ctx_draw_t *draw = (menu_display_ctx_draw_t*)data;
|
||||
vk_t *vk = (vk_t*)video_driver_get_ptr(false);
|
||||
if (!vk)
|
||||
|
||||
if (!vk || !draw)
|
||||
return;
|
||||
|
||||
texture = (struct vk_texture*)draw->texture;
|
||||
mat = (math_matrix_4x4*)draw->matrix_data;
|
||||
vertex = draw->coords->vertex;
|
||||
tex_coord = draw->coords->tex_coord;
|
||||
color = draw->coords->color;
|
||||
|
||||
mat = (math_matrix_4x4*)draw->matrix_data;
|
||||
|
||||
/* TODO - edge case */
|
||||
if (draw->height <= 0)
|
||||
draw->height = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user