diff options
| author | Egor <egor.yusov@gmail.com> | 2018-02-03 20:35:03 +0000 |
|---|---|---|
| committer | Egor <egor.yusov@gmail.com> | 2018-02-03 20:35:03 +0000 |
| commit | 06a339f9f08827001eb77c6b0216c0fb8237d78d (patch) | |
| tree | 80a525d5e96eea1cb6dc964611045dc866c2a71f /Graphics/GraphicsEngineOpenGL | |
| parent | Fixed MacOS build error (diff) | |
| download | DiligentCore-06a339f9f08827001eb77c6b0216c0fb8237d78d.tar.gz DiligentCore-06a339f9f08827001eb77c6b0216c0fb8237d78d.zip | |
Fixed another MacOS build issue
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/SwapChainGLImpl.cpp | 4 |
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 |
