mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 12:03:45 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue