summaryrefslogtreecommitdiff
path: root/src/render/normalopenglgraphics.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/normalopenglgraphics.h
parent17a08b25c0df685e3f5c7edf1d4ab583f55ecaf9 (diff)
downloadmanaverse-b4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02.tar.gz
manaverse-b4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02.tar.bz2
manaverse-b4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02.tar.xz
manaverse-b4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02.zip
Add some missing checks to render found by paranucker.
Diffstat (limited to 'src/render/normalopenglgraphics.h')
-rw-r--r--src/render/normalopenglgraphics.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/render/normalopenglgraphics.h b/src/render/normalopenglgraphics.h
index a3fbdc1fb..54ab4df99 100644
--- a/src/render/normalopenglgraphics.h
+++ b/src/render/normalopenglgraphics.h
@@ -89,12 +89,12 @@ class NormalOpenGLGraphics final : public Graphics
#endif
private:
- GLfloat *mFloatTexArray;
- GLint *mIntTexArray;
- GLint *mIntVertArray;
- GLfloat *mFloatTexArrayCached;
- GLint *mIntTexArrayCached;
- GLint *mIntVertArrayCached;
+ GLfloat *mFloatTexArray A_NONNULLPOINTER;
+ GLint *mIntTexArray A_NONNULLPOINTER;
+ GLint *mIntVertArray A_NONNULLPOINTER;
+ GLfloat *mFloatTexArrayCached A_NONNULLPOINTER;
+ GLint *mIntTexArrayCached A_NONNULLPOINTER;
+ GLint *mIntVertArrayCached A_NONNULLPOINTER;
float mAlphaCached;
int mVpCached;
bool mTexture;