From 4dba2235a1f7c1d8776bd29f69b1b8778d272ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Sat, 6 Apr 2013 22:33:58 +0000 Subject: [PATCH] drawd3d.c - Fixes performance issues with YIQ enabled and prescale_x/prescale_y changes no longer impacts colors. [Just Desserts, Robert Tuccitto] --- src/osd/windows/drawd3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);