r_colorBits now defaults to 32

This commit is contained in:
yvt 2013-08-29 00:46:54 +09:00
parent 1777866637
commit 10480c645c
2 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ void MainWindow::CheckGLCapability() {
bool capable = true; bool capable = true;
std::string msg; std::string msg;
if(!SDL_SetVideoMode(1,1, 0, SDL_OPENGL|SDL_NOFRAME)){ if(!SDL_SetVideoMode(1,1, 32, SDL_OPENGL|SDL_NOFRAME)){
// OpenGL initialization failed! // OpenGL initialization failed!
outputGLRenderer->value("N/A"); outputGLRenderer->value("N/A");
outputGLVersion->value("N/A"); outputGLVersion->value("N/A");

View File

@ -23,7 +23,7 @@
SPADES_SETTING(r_videoWidth, "1024"); SPADES_SETTING(r_videoWidth, "1024");
SPADES_SETTING(r_videoHeight, "640"); SPADES_SETTING(r_videoHeight, "640");
SPADES_SETTING(r_fullscreen, "0"); SPADES_SETTING(r_fullscreen, "0");
SPADES_SETTING(r_colorBits, "0"); SPADES_SETTING(r_colorBits, "32");
namespace spades { namespace spades {
namespace gui { namespace gui {