summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-25 20:25:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-25 20:25:38 +0300
commit104df5cae8521f4a234381567b19e6b4da3ff1f0 (patch)
tree2789b318f3f2d977bdd01921ae69c4f476954476 /src/render/nullopenglgraphics.h
parentc456cb3f7eea27839c4b2689d77ddc09926fb8c6 (diff)
downloadplus-104df5cae8521f4a234381567b19e6b4da3ff1f0.tar.gz
plus-104df5cae8521f4a234381567b19e6b4da3ff1f0.tar.bz2
plus-104df5cae8521f4a234381567b19e6b4da3ff1f0.tar.xz
plus-104df5cae8521f4a234381567b19e6b4da3ff1f0.zip
Add restrict keyword to all renderers.
Diffstat (limited to 'src/render/nullopenglgraphics.h')
-rw-r--r--src/render/nullopenglgraphics.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/render/nullopenglgraphics.h b/src/render/nullopenglgraphics.h
index abd73a117..cbb9f5b8b 100644
--- a/src/render/nullopenglgraphics.h
+++ b/src/render/nullopenglgraphics.h
@@ -55,21 +55,22 @@ class NullOpenGLGraphics final : public Graphics
~NullOpenGLGraphics();
- inline void drawQuadArrayfi(const int size);
+ inline void drawQuadArrayfi(const int size) restrict2;
- inline void drawQuadArrayfi(const GLint *const intVertArray,
- const GLfloat *const floatTexArray,
- const int size);
+ inline void drawQuadArrayfi(const GLint *restrict const intVertArray,
+ const GLfloat *restrict const
+ floatTexArray,
+ const int size) restrict2;
- inline void drawQuadArrayii(const int size);
+ inline void drawQuadArrayii(const int size) restrict2;
- inline void drawQuadArrayii(const GLint *const intVertArray,
- const GLint *const intTexArray,
- const int size);
+ inline void drawQuadArrayii(const GLint *restrict const intVertArray,
+ const GLint *restrict const intTexArray,
+ const int size) restrict2;
- inline void drawLineArrayi(const int size);
+ inline void drawLineArrayi(const int size) restrict2;
- inline void drawLineArrayf(const int size);
+ inline void drawLineArrayf(const int size) restrict2;
#include "render/graphicsdef.hpp"