From aeda299b09163637097d518a937da9de69c52e6d Mon Sep 17 00:00:00 2001 From: nitrocaster Date: Mon, 25 Jan 2016 03:21:57 +0300 Subject: [PATCH] Add XXX. --- src/xrEngine/EngineAPI.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/xrEngine/EngineAPI.cpp b/src/xrEngine/EngineAPI.cpp index 4b0a5df310d..67a6983e819 100644 --- a/src/xrEngine/EngineAPI.cpp +++ b/src/xrEngine/EngineAPI.cpp @@ -224,6 +224,12 @@ void CEngineAPI::CreateRendererList() } else { + // XXX: since we are going to support OpenGL render with its own feature levels, + // the reference render availability checking trick doesn't quite work: it's based + // on assumption that first unsupported render quality level means all the rest + // (greater) levels are not supported too, which is incorrect in case of Linux, + // where we have OpenGL only (so the engine would crash on R_ASSERT below). + // ... // try to initialize R2 hRender = XRay::LoadLibrary(r2_name); if (hRender)