mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-11 18:51:16 +00:00
GetPrimaryBitDepth default return value of 8
This commit is contained in:
parent
c4dc66a3ae
commit
83dc6f00d1
@ -57,7 +57,7 @@ int MxDirectDraw::GetPrimaryBitDepth()
|
||||
DDSURFACEDESC ddsd;
|
||||
|
||||
HRESULT result = DirectDrawCreate(NULL, &pDDraw, NULL);
|
||||
dwRGBBitCount = 0;
|
||||
dwRGBBitCount = 8;
|
||||
if (!result)
|
||||
{
|
||||
memset(&ddsd, 0, sizeof(ddsd));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user