mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-15 12:41:15 +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;
|
DDSURFACEDESC ddsd;
|
||||||
|
|
||||||
HRESULT result = DirectDrawCreate(NULL, &pDDraw, NULL);
|
HRESULT result = DirectDrawCreate(NULL, &pDDraw, NULL);
|
||||||
dwRGBBitCount = 0;
|
dwRGBBitCount = 8;
|
||||||
if (!result)
|
if (!result)
|
||||||
{
|
{
|
||||||
memset(&ddsd, 0, sizeof(ddsd));
|
memset(&ddsd, 0, sizeof(ddsd));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user