summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Michaël Banaan Ananas <happppp@users.noreply.github.com>2013-04-06 22:33:58 +0000
committer Michaël Banaan Ananas <happppp@users.noreply.github.com>2013-04-06 22:33:58 +0000
commit4dba2235a1f7c1d8776bd29f69b1b8778d272ed0 (patch)
treea7beef9a7f6739271edf6bb7536f5d9f89c00030
parent9f82e526f0abd01b40bbe3d4856ab201f6495817 (diff)
drawd3d.c - Fixes performance issues with YIQ enabled and prescale_x/prescale_y changes no longer impacts colors. [Just Desserts, Robert Tuccitto]
-rw-r--r--src/osd/windows/drawd3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/windows/drawd3d.c b/src/osd/windows/drawd3d.c
index d87dc5fd2c0..7aa426d4867 100644
--- a/src/osd/windows/drawd3d.c
+++ b/src/osd/windows/drawd3d.c
@@ -2865,7 +2865,7 @@ bool d3d_render_target::init(d3d_info *d3d, d3d_base *d3dintf, int width, int he
if (!bloom)
{
- result = (*d3dintf->device.create_texture)(d3d->device, width * prescale_x, height * prescale_y, 1, D3DUSAGE_RENDERTARGET, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &texture[3]);
+ result = (*d3dintf->device.create_texture)(d3d->device, width, height, 1, D3DUSAGE_RENDERTARGET, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &texture[3]);
if (result != D3D_OK)
return false;
(*d3dintf->texture.get_surface_level)(texture[3], 0, &target[3]);