From 930142b7a7f76c911ac92da1757ae662cf1c6869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Sat, 3 Jul 2021 13:35:59 +0200 Subject: [PATCH] OpenGLRenderer: Fix double StackVector init --- src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp b/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp index 9ad895c2a..bd375a49b 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp @@ -142,7 +142,7 @@ namespace Nz } } - StackVector invalidateAttachments = NazaraStackVector(GLenum, colorBufferCount + 1); + StackVector invalidateAttachments; if (command.framebuffer->GetType() == FramebufferType::Texture) {