From edc2f63f8b146fddf0a55bc6c4b70da00890e7f9 Mon Sep 17 00:00:00 2001
From: sebastianfreitag <freitag@vr.rwth-aachen.de>
Date: Thu, 9 Feb 2017 14:50:27 +0100
Subject: [PATCH] fixed illegal and unnecessary implicit cast from false to
 nullptr

---
 VistaCoreLibs/VistaOGLExt/VistaVertexArrayObject.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/VistaCoreLibs/VistaOGLExt/VistaVertexArrayObject.cpp b/VistaCoreLibs/VistaOGLExt/VistaVertexArrayObject.cpp
index f0b0be2dc..61fc0771c 100644
--- a/VistaCoreLibs/VistaOGLExt/VistaVertexArrayObject.cpp
+++ b/VistaCoreLibs/VistaOGLExt/VistaVertexArrayObject.cpp
@@ -46,7 +46,7 @@ VistaVertexArrayObject::VistaVertexArrayObject()
 	glGetIntegerv( GL_MAX_VERTEX_ATTRIBS, &iMaxVertexAttribs );
 	assert( iMaxVertexAttribs != -1 );
 	m_AttribEnableState.resize(static_cast<size_t>(iMaxVertexAttribs), false);
-	m_VertexBufferObjects.resize(static_cast<size_t>(iMaxVertexAttribs), false);
+	m_VertexBufferObjects.resize(static_cast<size_t>(iMaxVertexAttribs));
 }
 
 VistaVertexArrayObject::~VistaVertexArrayObject()
-- 
GitLab