mirror of https://github.com/bjornbytes/lovr.git
Fix OpenXR OpenGL swapchain type;
This commit is contained in:
parent
ba3d10dd60
commit
9f769470e6
|
@ -22,3 +22,6 @@
|
||||||
[submodule "deps/luajit"]
|
[submodule "deps/luajit"]
|
||||||
path = deps/luajit
|
path = deps/luajit
|
||||||
url = https://github.com/WohlSoft/LuaJIT
|
url = https://github.com/WohlSoft/LuaJIT
|
||||||
|
[submodule "deps/openxr"]
|
||||||
|
path = deps/openxr
|
||||||
|
url = https://github.com/khronosgroup/openxr-sdk
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 69bb1508eae5b3c5be149d3518e772443db6a077
|
|
@ -252,7 +252,7 @@ static bool openxr_init(float offset, uint32_t msaa) {
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(XR_USE_GRAPHICS_API_OPENGL)
|
#if defined(XR_USE_GRAPHICS_API_OPENGL)
|
||||||
XrSwapchainImageOpenGL images[MAX_IMAGES];
|
XrSwapchainImageOpenGLKHR images[MAX_IMAGES];
|
||||||
#elif defined(XR_USE_GRAPHICS_API_OPENGLES)
|
#elif defined(XR_USE_GRAPHICS_API_OPENGLES)
|
||||||
XrSwapchainImageOpenGLESKHR images[MAX_IMAGES];
|
XrSwapchainImageOpenGLESKHR images[MAX_IMAGES];
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue