diff options
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h | 4 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h b/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h index 1442319c..d26c8ba4 100644 --- a/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h +++ b/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h @@ -56,8 +56,8 @@ namespace Diligent { GLProgramVariableBase( const Char* _Name, size_t _ArraySize, SHADER_VARIABLE_TYPE _VarType) : Name( _Name ), - VarType(_VarType), - pResources(_ArraySize) + pResources(_ArraySize), + VarType(_VarType) { VERIFY_EXPR(_ArraySize >= 1); } diff --git a/Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.cpp b/Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.cpp index be1a37fc..74e3d996 100644 --- a/Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.cpp @@ -84,10 +84,10 @@ namespace Diligent }*/ GLContext::GLContext( const ContextInitInfo &Info, DeviceCaps &DeviceCaps ) : - m_SwapChainAttribs(Info.SwapChainAttribs), - m_Context(0), - m_pNativeWindow(Info.pNativeWndHandle), - m_pDisplay(Info.pDisplay) + m_pNativeWindow(Info.pNativeWndHandle), + m_pDisplay(Info.pDisplay), + m_Context(0), + m_SwapChainAttribs(Info.SwapChainAttribs) { #if 0 auto CurrentCtx = glXGetCurrentContext(); |
