This one complains too

This commit is contained in:
twinaphex 2018-01-19 05:04:11 +01:00
parent f608b5ed52
commit 1a3a88a62e

View File

@ -1649,8 +1649,13 @@ static void d3d_set_menu_texture_frame(void *data,
d3d->menu->tex_w != width ||
d3d->menu->tex_h != height)
{
#ifdef _XBOX
width = next_pow2(width);
height = next_pow2(height);
#endif
if (d3d->menu)
d3d_texture_free(d3d->menu->tex);
d3d_texture_free(d3d->menu->tex);
d3d->menu->tex = d3d_texture_new(d3d->dev, NULL,
width, height, 1,