QTfrontend/game.cpp
changeset 603 d7877468653b
parent 602 f7628ebfccde
child 604 2f1165467a66
--- a/QTfrontend/game.cpp	Fri Sep 21 18:55:44 2007 +0000
+++ b/QTfrontend/game.cpp	Fri Sep 21 19:18:06 2007 +0000
@@ -252,7 +252,7 @@
 	arguments << cfgdir->absolutePath();
 	arguments << QString::number(resolution.width());
 	arguments << QString::number(resolution.height());
-	arguments << "32"; // bpp
+	arguments << QString::number(config->bitDepth()); // bpp
 	arguments << QString("%1").arg(ipc_port);
 	arguments << (config->vid_Fullscreen() ? "1" : "0");
 	arguments << (config->isSoundEnabled() ? "1" : "0");