mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Revert "(Xbox) Swizzled formats on Xbox need to be POW2"
This reverts commit f608b5ed521fee42c1b398127eb51d0088cb8f63.
This commit is contained in:
parent
7484e01034
commit
d8e9e3383d
@ -1380,13 +1380,8 @@ static bool d3d_overlay_load(void *data,
|
||||
for (i = 0; i < num_images; i++)
|
||||
{
|
||||
D3DLOCKED_RECT d3dlr;
|
||||
#ifdef _XBOX
|
||||
unsigned width = next_pow2(images[i].width);
|
||||
unsigned height = next_pow2(images[i].height);
|
||||
#else
|
||||
unsigned width = images[i].width;
|
||||
unsigned height = images[i].height;
|
||||
#endif
|
||||
overlay_t *overlay = (overlay_t*)&d3d->overlays[i];
|
||||
|
||||
overlay->tex = d3d_texture_new(d3d->dev, NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user