summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-05 04:10:35 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-05 04:10:35 +0000
commit000fdae6ccfe0067b8621400b3c92cab1d86cedc (patch)
tree527ff57608662df4c54efc91d0344f4d197cea00 /Graphics/GraphicsEngineOpenGL
parentReplaced SET_RENDER_TARGETS_FLAGS with RESOURCE_STATE_TRANSITION_MODE. (diff)
downloadDiligentCore-000fdae6ccfe0067b8621400b3c92cab1d86cedc.tar.gz
DiligentCore-000fdae6ccfe0067b8621400b3c92cab1d86cedc.zip
Minor code improvements in Vk backend
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp2
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];