From 5bf70e52def656acb7679e0bd72883bd598b442f Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Mon, 2 Jan 2012 22:48:43 +0000 Subject: [PATCH] Fixes Atlas startup in Windows when using SDL. This was SVN commit r10855. --- .../atlas/GameInterface/Handlers/GraphicsSetupHandlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tools/atlas/GameInterface/Handlers/GraphicsSetupHandlers.cpp b/source/tools/atlas/GameInterface/Handlers/GraphicsSetupHandlers.cpp index 924fc06e1e..34806eb799 100644 --- a/source/tools/atlas/GameInterface/Handlers/GraphicsSetupHandlers.cpp +++ b/source/tools/atlas/GameInterface/Handlers/GraphicsSetupHandlers.cpp @@ -57,7 +57,7 @@ MESSAGEHANDLER(InitGraphics) { UNUSED2(msg); -#if OS_LINUX || OS_MACOSX +#if OS_LINUX || OS_MACOSX || (OS_WIN && !CONFIG2_WSDL) // When using GLX (Linux), SDL has to load the GL library to find // glXGetProcAddressARB before it can load any extensions. // When running in Atlas, we skip the SDL video initialisation code