mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
This one complains too
This commit is contained in:
parent
f608b5ed52
commit
1a3a88a62e
@ -1649,8 +1649,13 @@ static void d3d_set_menu_texture_frame(void *data,
|
|||||||
d3d->menu->tex_w != width ||
|
d3d->menu->tex_w != width ||
|
||||||
d3d->menu->tex_h != height)
|
d3d->menu->tex_h != height)
|
||||||
{
|
{
|
||||||
|
#ifdef _XBOX
|
||||||
|
width = next_pow2(width);
|
||||||
|
height = next_pow2(height);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (d3d->menu)
|
if (d3d->menu)
|
||||||
d3d_texture_free(d3d->menu->tex);
|
d3d_texture_free(d3d->menu->tex);
|
||||||
|
|
||||||
d3d->menu->tex = d3d_texture_new(d3d->dev, NULL,
|
d3d->menu->tex = d3d_texture_new(d3d->dev, NULL,
|
||||||
width, height, 1,
|
width, height, 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user