From 4fdafe9f1d0baa7806aa2bd17f7fe674bd193f38 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sun, 2 Feb 2020 23:54:53 -0800 Subject: Updated LinuxNativeWindow --- Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp index 4c98b44b..7c0dcfa8 100644 --- a/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp @@ -54,7 +54,7 @@ SwapChainGLImpl::SwapChainGLImpl(IReferenceCounters* pRefCounters, m_SwapChainDesc.Width = rc.right - rc.left; m_SwapChainDesc.Height = rc.bottom - rc.top; #elif PLATFORM_LINUX - auto wnd = static_cast(reinterpret_cast(InitAttribs.Window.pWindow)); + auto wnd = InitAttribs.Window.WindowId; auto display = reinterpret_cast(InitAttribs.Window.pDisplay); XWindowAttributes XWndAttribs; -- cgit v1.2.3