DRTVWR-559 Fix for mac build.

master
Dave Parks 2023-11-03 11:15:19 -05:00
parent 439d26ccdc
commit 70721bae39
1 changed files with 6 additions and 4 deletions

View File

@ -1962,10 +1962,12 @@ public:
void* LLWindowMacOSX::createSharedContext()
{
sharedContext* sc = new sharedContext();
CGLError err = CGLCreateContext(mPixelFormat, mContext, &(sc->mContext));
llassert(err == kCGLNoError);
CGLEnable(mContext, kCGLCEMPEngine);
CGLCreateContext(mPixelFormat, mContext, &(sc->mContext));
if (sUseMultGL)
{
CGLEnable(mContext, kCGLCEMPEngine);
}
return (void *)sc;
}