2
0
Эх сурвалжийг харах

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)

AlexVinS 11 жил өмнө
parent
commit
1597254399

+ 0 - 1
client/CMT.cpp

@@ -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.)

+ 1 - 1
config/schemas/settings.json

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