diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-01-10 13:48:32 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-01-10 13:48:32 +0800 |
commit | 52d27ba16c4682901d0028fd637d231e783f858f (patch) | |
tree | 0d34636eb0ad06d3a5f552875955832fb5be2846 | |
parent | 367915001c61a27dfe68dfc201512de0a587aa80 (diff) |
Ignore colour bit results
It turns out glGetIntegerv on GL colour bits hasn't given any value,
so the values used afterwards have been random since the variables
aren't initialised. The numbers haven't been 8, 8, 8 since core profile
or VRAM detection or something else.
-rw-r--r-- | indra/llwindow/llwindowsdl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp index ec8e04424b..4a1fb899a4 100644 --- a/indra/llwindow/llwindowsdl.cpp +++ b/indra/llwindow/llwindowsdl.cpp @@ -722,6 +722,7 @@ BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, B // relaxed about if we have to. if (colorBits < 32) { +/* close(); setupFailure( "Second Life requires True Color (32-bit) to run in a window.\n" @@ -732,6 +733,7 @@ BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, B "Error", OSMB_OK); return FALSE; +*/ } #if 0 // *FIX: we're going to brave it for now... |