Implement CGLPlatform using CGL and NSOpenGLContext

* On replay on macOS we use NSOpenGLContext so we can render to windows.
* We have two windowing systems on mac - one for Metal compatible outputs and
  one for OpenGL compatible outputs.
This commit is contained in:
baldurk
2019-01-30 23:03:01 +00:00
parent 69c668c27c
commit fe0be58908
20 changed files with 375 additions and 57 deletions
+1 -1
View File
@@ -1773,7 +1773,7 @@ WindowingData CaptureContext::CreateWindowingData(QWidget *window)
void *layer = makeNSViewMetalCompatible(view);
return CreateMacOSWindowingData(layer);
return CreateMacOSWindowingData(view, layer);
#elif defined(RENDERDOC_PLATFORM_APPLE)