diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-12-04 10:01:53 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-12-04 10:01:53 +0000 |
commit | c742f296347cb56bd94bbeab0e8e95720f17868b (patch) | |
tree | 675ff9fac4419472f2251bf81563049c0e174d1b /src/osd | |
parent | 2bce10291f559e550fbc53b5e02e159442995ccd (diff) |
02676: All Laserdisc Games: Wrong colors using Direct3D on ATI cards
Diffstat (limited to 'src/osd')
-rw-r--r-- | src/osd/windows/drawd3d.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/osd/windows/drawd3d.c b/src/osd/windows/drawd3d.c index 6e212df17db..25ead086cea 100644 --- a/src/osd/windows/drawd3d.c +++ b/src/osd/windows/drawd3d.c @@ -2146,20 +2146,11 @@ INLINE void copyline_yuy16_to_uyvy(UINT16 *dst, const UINT16 *src, int width, co else { if (borderpix) - { - UINT16 srcpix = *src; - *dst++ = (srcpix >> 8) | (srcpix << 8); - } + *dst++ = *src; for (x = 0; x < width; x++) - { - UINT16 srcpix = *src++; - *dst++ = (srcpix >> 8) | (srcpix << 8); - } + *dst++ = *src++; if (borderpix) - { - UINT16 srcpix = *--src; - *dst++ = (srcpix >> 8) | (srcpix << 8); - } + *dst++ = *--src; } } |