Default to 32 bpp
This commit is contained in:
parent
ac1d35c6dd
commit
f9cc483e67
1 changed files with 2 additions and 2 deletions
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…
Reference in a new issue