mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
Default to 32 bpp
This commit is contained in:
parent
ac1d35c6dd
commit
f9cc483e67
4
main.c
4
main.c
@ -495,10 +495,10 @@ HRESULT WINAPI DirectDrawCreate(GUID FAR* lpGUID, LPDIRECTDRAW FAR* lplpDD, IUnk
|
||||
{
|
||||
This->render->height = 400;
|
||||
}
|
||||
This->render->bpp = GetPrivateProfileIntA("ddraw", "bpp", 24, ini_path);
|
||||
This->render->bpp = GetPrivateProfileIntA("ddraw", "bpp", 32, ini_path);
|
||||
if(This->render->bpp != 16 && This->render->bpp != 24 && This->render->bpp != 32)
|
||||
{
|
||||
This->render->bpp = 24;
|
||||
This->render->bpp = 32;
|
||||
}
|
||||
|
||||
GetPrivateProfileStringA("ddraw", "filter", tmp, tmp, sizeof(tmp), ini_path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user