fix VR in OpenGL on Windows (#8009)

This commit is contained in:
Taylor Richards authored and GitHub committed 2026-11-06 16:27:14 -05:00
1 parent 2b1759e98e
commit 4dc0ca7878
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ bool gr_opengl_openxr_test_capabilities() {
#ifdef WIN32
bool gr_opengl_openxr_create_session() {
auto hdc = static_cast<HDC>(SDL_GetPointerProperty(SDL_GetWindowProperties(os::getSDLMainWindow()),
SDL_PROP_WINDOW_WIN32_HWND_POINTER,
SDL_PROP_WINDOW_WIN32_HDC_POINTER,
nullptr));
XrGraphicsBindingOpenGLWin32KHR graphicsBinding{