summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp
index 4754b93d..6b392943 100644
--- a/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp
@@ -56,8 +56,8 @@ SwapChainGLImpl::SwapChainGLImpl(IReferenceCounters *pRefCounters,
m_SwapChainDesc.Height = GLContext.GetScreenHeight();
#elif defined(PLATFORM_MACOS)
//Set dummy width and height until resize is called by the app
- m_SwapChainAttribs.Width = 1024;
- m_SwapChainAttribs.Height = 768;
+ m_SwapChainDesc.Width = 1024;
+ m_SwapChainDesc.Height = 768;
#else
# error Unsupported platform
#endif