- OpenGLSwapChain now gets HDC from OpenGLDevice instead of creating its own - Renamed OpenGLDevice::GetContext() to GetGLContext() for clarity - Renamed OpenGLDevice::GetDC() to GetPresentationDC() for clarity - OpenGLDevice now owns the HDC/HGLRC lifecycle - OpenGLSwapChain::Initialize() now takes OpenGLDevice* parameter - OpenGLSwapChain::Present() uses device's HDC for SwapBuffers - Updated minimal test to use new API and capture from frame 25-35 - RenderDoc SetDevice now uses GetGLContext() for proper OpenGL hook
4.5 KiB
4.5 KiB