diff options
| author | 2008-08-28 15:26:11 +0000 | |
|---|---|---|
| committer | 2008-08-28 15:26:11 +0000 | |
| commit | a2caa558e2b663734dc9b0ac9c955dd681ec2b73 (patch) | |
| tree | 27c1e744303f1e12724edd65e3fc3a5f03e5973c /src/osd | |
| parent | 32d55f53b091ab971d0f3b816a2b0820dfbd39ff (diff) | |
Cleanups and version bump.mame0127u1
Diffstat (limited to 'src/osd')
| -rw-r--r-- | src/osd/windows/drawd3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/windows/drawd3d.c b/src/osd/windows/drawd3d.c index 86cca8e8cbf..9f85831e585 100644 --- a/src/osd/windows/drawd3d.c +++ b/src/osd/windows/drawd3d.c @@ -1758,7 +1758,7 @@ static texture_info *texture_create(d3d_info *d3d, const render_texinfo *texsour // for the target surface, we allocate a render target texture scwidth = texture->rawwidth * texture->xprescale; scheight = texture->rawheight * texture->yprescale; - + // target surfaces typically cannot be YCbCr, so we always pick RGB in that case finalfmt = (format != d3d->yuv_format) ? format : D3DFMT_A8R8G8B8; result = (*d3dintf->device.create_texture)(d3d->device, scwidth, scheight, 1, D3DUSAGE_RENDERTARGET, finalfmt, D3DPOOL_DEFAULT, &texture->d3dfinaltex); |
