[QUARTZ] Fix rendering of paletted video stream

Christian Costa titan.costa at wanadoo.fr
Tue Aug 16 13:54:23 CDT 2005


Hi,

Changelog:
Fix rendering of paletted video stream.

Christian Costa   titan.costa at wanadoo.fr

-------------- next part --------------
Index: dlls/quartz/videorenderer.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/videorenderer.c,v
retrieving revision 1.14
diff -u -r1.14 videorenderer.c
--- dlls/quartz/videorenderer.c	12 Jul 2005 19:21:36 -0000	1.14
+++ dlls/quartz/videorenderer.c	16 Aug 2005 17:41:29 -0000
@@ -336,7 +336,7 @@
     StretchDIBits(hDC, This->DestRect.left, This->DestRect.top, This->DestRect.right -This->DestRect.left,
                   This->DestRect.bottom - This->DestRect.top, This->SourceRect.left, This->SourceRect.top,
                   This->SourceRect.right - This->SourceRect.left, This->SourceRect.bottom - This->SourceRect.top,
-                  data, (BITMAPINFO*)&format->bmiHeader, DIB_PAL_COLORS, SRCCOPY);
+                  data, (BITMAPINFO*)&format->bmiHeader, DIB_RGB_COLORS, SRCCOPY);
 
     ReleaseDC(This->hWnd, hDC);
     


More information about the wine-patches mailing list