Author: tkreuzer
Date: Sat May 5 22:06:15 2012
New Revision: 56520
URL:
http://svn.reactos.org/svn/reactos?rev=56520&view=rev
Log:
[WIN32K]
Someone passes iUsage == 2, so don't assert in that case, but ignore it as long as
it's not supported.
Modified:
trunk/reactos/win32ss/gdi/ntgdi/dibobj.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/dibobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/dibobj.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/dibobj.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/dibobj.c [iso-8859-1] Sat May 5 22:06:15 2012
@@ -171,11 +171,11 @@
/* Mark the palette as a brush hack palette */
ppal->flFlags |= PAL_BRUSHHACK;
}
- else if (iUsage == 2)
- {
+// else if (iUsage == 2)
+// {
// FIXME: this one is undocumented
- ASSERT(FALSE);
- }
+// ASSERT(FALSE);
+// }
else // if (iUsage == DIB_RGB_COLORS)
{
/* The colors are an array of RGBQUAD values */