summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-09 00:27:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-09 00:27:13 +0300
commitb4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02 (patch)
tree2f036904b433f9a1753b2bcbb6fbc99a5d0b643e /src/render/modernopenglgraphics.h
parent17a08b25c0df685e3f5c7edf1d4ab583f55ecaf9 (diff)
downloadplus-b4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02.tar.gz
plus-b4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02.tar.bz2
plus-b4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02.tar.xz
plus-b4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02.zip
Add some missing checks to render found by paranucker.
Diffstat (limited to 'src/render/modernopenglgraphics.h')
-rw-r--r--src/render/modernopenglgraphics.h4
1 files changed, 2 insertions, 2 deletions
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;