mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-09 21:22:36 +00:00
XMB: prevent null pointer dereference with GDI driver
This commit is contained in:
parent
3d4d9b09cf
commit
78a0711bff
@ -929,6 +929,9 @@ void menu_display_rotate_z(menu_display_ctx_rotate_draw_t *draw)
|
||||
|
||||
b = (math_matrix_4x4*)menu_disp->get_default_mvp();
|
||||
|
||||
if (!b)
|
||||
return;
|
||||
|
||||
matrix_4x4_rotate_z(matrix_rotated, draw->rotation);
|
||||
matrix_4x4_multiply(*draw->matrix, matrix_rotated, *b);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user