Should compare to X11 constant "None" since a colormap is an X
Resource ID and not a pointer.
This commit is contained in:
parent
7572207564
commit
7894c2212b
|
@ -2020,7 +2020,7 @@ static HRESULT WINAPI IDirectDrawPaletteImpl_GetEntries(
|
||||||
This,x,start,count,palent);
|
This,x,start,count,palent);
|
||||||
|
|
||||||
/* No palette created and not in depth-convertion mode -> BUG ! */
|
/* No palette created and not in depth-convertion mode -> BUG ! */
|
||||||
if ((This->cm == NULL) &&
|
if ((This->cm == None) &&
|
||||||
(This->ddraw->d.palette_convert == NULL))
|
(This->ddraw->d.palette_convert == NULL))
|
||||||
{
|
{
|
||||||
FIXME(ddraw,"app tried to read colormap for non-palettized mode\n");
|
FIXME(ddraw,"app tried to read colormap for non-palettized mode\n");
|
||||||
|
|
Loading…
Reference in New Issue