mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
fix VR in OpenGL on Windows (#8009)
This commit is contained in:
1 parent
2b1759e98e
commit
4dc0ca7878
1 file changed
+1
-1
@@ -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{
|
||||
|
||||
Reference in new issue
Block a user