Skip to content
Snippets Groups Projects
Commit 70721bae authored by David Parks's avatar David Parks
Browse files

DRTVWR-559 Fix for mac build.

parent 439d26cc
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -1962,10 +1962,12 @@ class sharedContext ...@@ -1962,10 +1962,12 @@ class sharedContext
void* LLWindowMacOSX::createSharedContext() void* LLWindowMacOSX::createSharedContext()
{ {
sharedContext* sc = new sharedContext(); sharedContext* sc = new sharedContext();
CGLError err = CGLCreateContext(mPixelFormat, mContext, &(sc->mContext)); CGLCreateContext(mPixelFormat, mContext, &(sc->mContext));
llassert(err == kCGLNoError);
if (sUseMultGL)
CGLEnable(mContext, kCGLCEMPEngine); {
CGLEnable(mContext, kCGLCEMPEngine);
}
return (void *)sc; return (void *)sc;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment