From 52d27ba16c4682901d0028fd637d231e783f858f Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 10 Jan 2024 13:48:32 +0800 Subject: 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. --- indra/llwindow/llwindowsdl.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/llwindow/llwindowsdl.cpp') 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... -- cgit v1.2.3