From b4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 9 Aug 2015 00:27:13 +0300 Subject: Add some missing checks to render found by paranucker. --- src/render/modernopenglgraphics.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render/modernopenglgraphics.h') diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h index 1f55717a3..792c4224c 100644 --- a/src/render/modernopenglgraphics.h +++ b/src/render/modernopenglgraphics.h @@ -105,8 +105,8 @@ class ModernOpenGLGraphics final : public Graphics inline void bindElementBuffer(const GLuint ebo); - GLint *mIntArray; - GLint *mIntArrayCached; + GLint *mIntArray A_NONNULLPOINTER; + GLint *mIntArrayCached A_NONNULLPOINTER; ShaderProgram *mProgram; float mAlphaCached; int mVpCached; -- cgit v1.2.3-60-g2f50