1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

just a few tweaks and it works!

* enable video again
* set default bpp to 32 - SDL2 dont like 24 bit resolution
* now almost everything looks as expected (some issues are present though)
This commit is contained in:
AlexVinS 2014-05-21 23:29:36 +04:00 committed by AlexVinS
parent 6890c2650b
commit 1597254399
2 changed files with 1 additions and 2 deletions

View File

@ -358,7 +358,6 @@ int main(int argc, char** argv)
setScreenRes(res["width"].Float(), res["height"].Float(), video["bitsPerPixel"].Float(), video["fullscreen"].Bool());
logGlobal->infoStream() <<"\tInitializing screen: "<<pomtime.getDiff();
}
#define DISABLE_VIDEO 1
CCS = new CClientState;
CGI = new CGameInfo; //contains all global informations about game (texts, lodHandlers, map handler etc.)

View File

@ -63,7 +63,7 @@
},
"bitsPerPixel" : {
"type" : "number",
"default" : 24
"default" : 32
},
"fullscreen" : {
"type" : "boolean",