Author: jgardou
Date: Sun Aug 1 12:24:04 2010
New Revision: 48390
URL:
http://svn.reactos.org/svn/reactos?rev=48390&view=rev
Log:
[WIN32K]
- Revert unwanted change and get back to PAL_BGR for default DIB palette mode.
Now yarotows looks like an OS again.
Modified:
branches/reactos-yarotows/subsystems/win32/win32k/objects/dibobj.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dibobj.c
URL:
http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win…
==============================================================================
--- branches/reactos-yarotows/subsystems/win32/win32k/objects/dibobj.c [iso-8859-1]
(original)
+++ branches/reactos-yarotows/subsystems/win32/win32k/objects/dibobj.c [iso-8859-1] Sun
Aug 1 12:24:04 2010
@@ -1741,16 +1741,7 @@
}
else
{
- if((pdwColors[0] == 0x0000FF) /* R */
- && (pdwColors[1] == 0x00FF00) /* G */
- && (pdwColors[2] == 0xFF0000))/* B */
- {
- paletteType = PAL_BGR;
- }
- else
- {
- paletteType == PAL_RGB;
- }
+ paletteType = PAL_BGR;
}
if (bmi->bmiHeader.biClrUsed == 0)