From 4042e8c86a2e244d7fc531ad4645af17047d9d61 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Mon, 15 Jan 2024 12:27:08 +0800 Subject: Re-enable GL colour bits check but only on Linux It seems the queries don't work on BSDs, but works okay on Linuxes. --- indra/llwindow/llwindowsdl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/llwindow') diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp index 607e3f3782..106109ceff 100644 --- a/indra/llwindow/llwindowsdl.cpp +++ b/indra/llwindow/llwindowsdl.cpp @@ -723,7 +723,7 @@ BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, B // relaxed about if we have to. if (colorBits < 32) { -/* +#if LL_LINUX close(); setupFailure( "Second Life requires True Color (32-bit) to run in a window.\n" @@ -734,7 +734,7 @@ BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, B "Error", OSMB_OK); return FALSE; -*/ +#endif // LL_LINUX } #if 0 // *FIX: we're going to brave it for now... -- cgit v1.2.3