mirror of https://github.com/bjornbytes/lovr.git
lovrPlatformGetWindow -> lovrPlatformGetWin32Window;
This commit is contained in:
parent
47ec05d385
commit
1dd692a009
|
@ -357,7 +357,7 @@ bool lovrPlatformIsKeyDown(KeyboardKey key) {
|
|||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
HANDLE lovrPlatformGetWindow() {
|
||||
HANDLE lovrPlatformGetWin32Window() {
|
||||
return (HANDLE) glfwGetWin32Window(glfwState.window);
|
||||
}
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
#define MAX_IMAGES 4
|
||||
|
||||
#if defined(_WIN32)
|
||||
HANDLE lovrPlatformGetWindow(void);
|
||||
HANDLE lovrPlatformGetWin32Window(void);
|
||||
HGLRC lovrPlatformGetContext(void);
|
||||
#elif defined(__ANDROID__)
|
||||
struct ANativeActivity* lovrPlatformGetActivity(void);
|
||||
|
@ -343,7 +343,7 @@ static bool openxr_init(float supersample, float offset, uint32_t msaa) {
|
|||
#if defined(_WIN32) && defined(LOVR_GL)
|
||||
XrGraphicsBindingOpenGLWin32KHR graphicsBinding = {
|
||||
.type = XR_TYPE_GRAPHICS_BINDING_OPENGL_WIN32_KHR,
|
||||
.hDC = lovrPlatformGetWindow(),
|
||||
.hDC = lovrPlatformGetWin32Window(),
|
||||
.hGLRC = lovrPlatformGetContext()
|
||||
};
|
||||
#elif defined(__ANDROID__) && defined(LOVR_GLES)
|
||||
|
|
Loading…
Reference in New Issue