Kaydet (Commit) c49f0575 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

don't crash if the new create context method is not available

Change-Id: I50a8b89f83e095e5d8a110dfbf81ccadea4b39a5
üst 6f5b639d
......@@ -487,7 +487,7 @@ bool OpenGLContext::ImplInit()
#elif defined( UNX )
#if DBG_UTIL
if (!mbRequestLegacyContext)
if (glXCreateContextAttribsARB && !mbRequestLegacyContext)
{
int best_fbc = -1;
const SystemEnvData* sysData(m_pChildWindow->GetSystemData());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment