From 000fdae6ccfe0067b8621400b3c92cab1d86cedc Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 4 Dec 2018 20:10:35 -0800 Subject: Minor code improvements in Vk backend --- Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineOpenGL') 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(CtxCaps.m_iMaxDrawBuffers), "This device only supports ", CtxCaps.m_iMaxDrawBuffers, " draw buffers, but ", NumRenderTargets, " are being set"); NumRenderTargets = std::min(NumRenderTargets, static_cast(CtxCaps.m_iMaxDrawBuffers)); - ITextureView *pBoundRTVs[MaxRenderTargets] = {}; + ITextureView* pBoundRTVs[MaxRenderTargets] = {}; for (Uint32 rt = 0; rt < NumRenderTargets; ++rt) pBoundRTVs[rt] = m_pBoundRenderTargets[rt]; -- cgit v1.2.3