(menu_display_d3d8.c) Buildfix

This commit is contained in:
twinaphex 2018-04-22 14:46:20 +02:00
parent 2a655116a6
commit 9e741019f3

View File

@ -172,7 +172,7 @@ static void menu_display_d3d8_draw(void *data, video_frame_info_t *video_info)
#if 1 #if 1
if ((void*)draw->texture) if ((void*)draw->texture)
{ {
D3DSURFACE_DESC desc; D3D8SURFACE_DESC desc;
if (d3d8_texture_get_level_desc((void*)draw->texture, 0, &desc)) if (d3d8_texture_get_level_desc((void*)draw->texture, 0, &desc))
{ {
pv[i].u *= desc.Width; pv[i].u *= desc.Width;