From 36ba43d6ea38062b17f7e63ef659962bfc51c64d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jun 2017 23:34:34 +0300 Subject: Fix clang-tidy check readability-implicit-bool-cast. --- src/render/vertexes/openglgraphicsvertexes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/vertexes') diff --git a/src/render/vertexes/openglgraphicsvertexes.cpp b/src/render/vertexes/openglgraphicsvertexes.cpp index 95f19b996..7d7600ee1 100644 --- a/src/render/vertexes/openglgraphicsvertexes.cpp +++ b/src/render/vertexes/openglgraphicsvertexes.cpp @@ -92,7 +92,7 @@ void OpenGLGraphicsVertexes::clear() restrict2 } mVp.clear(); - if (ptr) + if (ptr != 0) { ptr = 0; delete []mFloatTexArray; -- cgit v1.2.3-70-g09d2