mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Update miniwin/miniwin/src/miniwin_ddraw.cpp
This commit is contained in:
parent
ad775065f2
commit
a8d59640f7
@ -46,7 +46,7 @@ HRESULT DirectDrawImpl::CreatePalette(
|
||||
)
|
||||
{
|
||||
if ((dwFlags & DDPCAPS_8BIT) != DDPCAPS_8BIT) {
|
||||
return DDERR_GENERIC;
|
||||
return DDERR_INVALIDPARAMS;
|
||||
}
|
||||
|
||||
*lplpDDPalette = static_cast<LPDIRECTDRAWPALETTE>(new DirectDrawPaletteImpl(lpColorTable));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user