Skip to content

Commit aeda299

Browse files
author
nitrocaster
committed
Add XXX.
1 parent 565455d commit aeda299

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/xrEngine/EngineAPI.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,12 @@ void CEngineAPI::CreateRendererList()
224224
}
225225
else
226226
{
227+
// XXX: since we are going to support OpenGL render with its own feature levels,
228+
// the reference render availability checking trick doesn't quite work: it's based
229+
// on assumption that first unsupported render quality level means all the rest
230+
// (greater) levels are not supported too, which is incorrect in case of Linux,
231+
// where we have OpenGL only (so the engine would crash on R_ASSERT below).
232+
// ...
227233
// try to initialize R2
228234
hRender = XRay::LoadLibrary(r2_name);
229235
if (hRender)

0 commit comments

Comments
 (0)