diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-12-05 04:10:35 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-12-05 04:10:35 +0000 |
| commit | 000fdae6ccfe0067b8621400b3c92cab1d86cedc (patch) | |
| tree | 527ff57608662df4c54efc91d0344f4d197cea00 /Graphics/GraphicsEngineOpenGL | |
| parent | Replaced SET_RENDER_TARGETS_FLAGS with RESOURCE_STATE_TRANSITION_MODE. (diff) | |
| download | DiligentCore-000fdae6ccfe0067b8621400b3c92cab1d86cedc.tar.gz DiligentCore-000fdae6ccfe0067b8621400b3c92cab1d86cedc.zip | |
Minor code improvements in Vk backend
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp index 672ce3ab..2323e6b4 100644 --- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp @@ -317,7 +317,7 @@ namespace Diligent VERIFY(NumRenderTargets < static_cast<Uint32>(CtxCaps.m_iMaxDrawBuffers), "This device only supports ", CtxCaps.m_iMaxDrawBuffers, " draw buffers, but ", NumRenderTargets, " are being set"); NumRenderTargets = std::min(NumRenderTargets, static_cast<Uint32>(CtxCaps.m_iMaxDrawBuffers)); - ITextureView *pBoundRTVs[MaxRenderTargets] = {}; + ITextureView* pBoundRTVs[MaxRenderTargets] = {}; for (Uint32 rt = 0; rt < NumRenderTargets; ++rt) pBoundRTVs[rt] = m_pBoundRenderTargets[rt]; |
