mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-19 10:50:40 +00:00
(D3D) Prevent crash with D3D8
This commit is contained in:
parent
7acd4b1847
commit
bf610ba2e6
@ -169,6 +169,7 @@ static void menu_display_d3d_draw(void *data, video_frame_info_t *video_info)
|
||||
pv[i].u = *tex_coord++;
|
||||
pv[i].v = *tex_coord++;
|
||||
#ifdef HAVE_D3D8
|
||||
if ((void*)draw->texture)
|
||||
{
|
||||
D3DSURFACE_DESC desc;
|
||||
if (d3d_texture_get_level_desc((void*)draw->texture, 0, &desc))
|
||||
|
Loading…
x
Reference in New Issue
Block a user