Default to current mode bpp
This commit is contained in:
parent
23cf107020
commit
b6642edb67
2 changed files with 10 additions and 6 deletions
2
main.c
2
main.c
|
@ -498,7 +498,7 @@ HRESULT WINAPI DirectDrawCreate(GUID FAR* lpGUID, LPDIRECTDRAW FAR* lplpDD, IUnk
|
|||
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 = 32;
|
||||
This->render->bpp = 0;
|
||||
}
|
||||
|
||||
GetPrivateProfileStringA("ddraw", "filter", tmp, tmp, sizeof(tmp), ini_path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue