mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Add an assert in IntEngCreateXlate
svn path=/trunk/; revision=23708
This commit is contained in:
@@ -158,6 +158,9 @@ IntEngCreateXlate(USHORT DestPalType, USHORT SourcePalType,
|
||||
ULONG DestRedMask = 0, DestGreenMask = 0, DestBlueMask = 0;
|
||||
ULONG i;
|
||||
|
||||
ASSERT(SourcePalType || PaletteSource);
|
||||
ASSERT(DestPalType || PaletteDest);
|
||||
|
||||
XlateGDI = EngAllocMem(0, sizeof(XLATEGDI), TAG_XLATEOBJ);
|
||||
if (XlateGDI == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user