r_colorBits now defaults to 32
This commit is contained in:
parent
1777866637
commit
10480c645c
@ -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");
|
||||||
|
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user