Commit 7894c221 authored by Kevin Holbrook's avatar Kevin Holbrook Committed by Alexandre Julliard

Should compare to X11 constant "None" since a colormap is an X

Resource ID and not a pointer.
parent 75722075
......@@ -2020,7 +2020,7 @@ static HRESULT WINAPI IDirectDrawPaletteImpl_GetEntries(
This,x,start,count,palent);
/* No palette created and not in depth-convertion mode -> BUG ! */
if ((This->cm == NULL) &&
if ((This->cm == None) &&
(This->ddraw->d.palette_convert == NULL))
{
FIXME(ddraw,"app tried to read colormap for non-palettized mode\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment