mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +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:
parent
6890c2650b
commit
1597254399
@ -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.)
|
||||
|
@ -63,7 +63,7 @@
|
||||
},
|
||||
"bitsPerPixel" : {
|
||||
"type" : "number",
|
||||
"default" : 24
|
||||
"default" : 32
|
||||
},
|
||||
"fullscreen" : {
|
||||
"type" : "boolean",
|
||||
|
Loading…
Reference in New Issue
Block a user