From d8e9e3383d0b6111c072e8cbda6cd21507535534 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 19 Jan 2018 05:06:46 +0100 Subject: [PATCH] Revert "(Xbox) Swizzled formats on Xbox need to be POW2" This reverts commit f608b5ed521fee42c1b398127eb51d0088cb8f63. --- gfx/drivers/d3d.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gfx/drivers/d3d.c b/gfx/drivers/d3d.c index 3f8b4bcbe9..f5e3b19560 100644 --- a/gfx/drivers/d3d.c +++ b/gfx/drivers/d3d.c @@ -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,