summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/texcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/sdl/texcopy.c')
-rw-r--r--src/osd/sdl/texcopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl/texcopy.c b/src/osd/sdl/texcopy.c
index 4330f4f1458..fb62e7d68a6 100644
--- a/src/osd/sdl/texcopy.c
+++ b/src/osd/sdl/texcopy.c
@@ -40,7 +40,7 @@ INLINE UINT32 ycc_to_rgb(unsigned y, unsigned cb, unsigned cr)
/* MAME_RGB does upper clamping */
- return MAKE_RGB(r >> 8, g >> 8, b >> 8);
+ return rgb_t(r >> 8, g >> 8, b >> 8);
}
#else