mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user