mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 21:47:57 +00:00
OpenGL API sync
This commit is contained in:
@@ -343,9 +343,9 @@ public:
|
||||
m_loadCtx = glXCreateContextAttribsARB(m_xDisp, m_fbconfig, m_glxCtx, True, ContextAttribs);
|
||||
if (!m_loadCtx)
|
||||
Log.report(LogVisor::FatalError, "unable to make load GLX context");
|
||||
if (!glXMakeContextCurrent(m_xDisp, m_glxWindow, m_glxWindow, m_loadCtx))
|
||||
Log.report(LogVisor::FatalError, "unable to make load GLX context current");
|
||||
}
|
||||
if (!glXMakeContextCurrent(m_xDisp, m_glxWindow, m_glxWindow, m_loadCtx))
|
||||
Log.report(LogVisor::FatalError, "unable to make load GLX context current");
|
||||
return getDataFactory();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user