diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-25 01:48:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-25 01:48:51 +0300 |
commit | 22e43e0f0d16fc207e3d3b7df013c50e0bfb17d7 (patch) | |
tree | 6e7c49255450d107ae34a8fae5a989909e8e75c1 /src/render/openglgraphicsdefadvanced.hpp | |
parent | f04697ea8be041a86877f6bc41958a3ceb3ded41 (diff) | |
download | mv-22e43e0f0d16fc207e3d3b7df013c50e0bfb17d7.tar.gz mv-22e43e0f0d16fc207e3d3b7df013c50e0bfb17d7.tar.bz2 mv-22e43e0f0d16fc207e3d3b7df013c50e0bfb17d7.tar.xz mv-22e43e0f0d16fc207e3d3b7df013c50e0bfb17d7.zip |
Add restrict keyword in openglgraphicsdefadvanced.hpp
Diffstat (limited to 'src/render/openglgraphicsdefadvanced.hpp')
-rw-r--r-- | src/render/openglgraphicsdefadvanced.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/render/openglgraphicsdefadvanced.hpp b/src/render/openglgraphicsdefadvanced.hpp index 16afb9c81..f9022483f 100644 --- a/src/render/openglgraphicsdefadvanced.hpp +++ b/src/render/openglgraphicsdefadvanced.hpp @@ -21,12 +21,13 @@ */ public: - inline void drawVertexes(const OpenGLGraphicsVertexes &ogl); + inline void drawVertexes(const OpenGLGraphicsVertexes &restrict ogl) + restrict2; - void initArrays(const int vertCount) override final; + void initArrays(const int vertCount) restrict2 override final; #ifdef DEBUG_DRAW_CALLS - unsigned int getDrawCalls() const + unsigned int getDrawCalls() restrict2 const { return mLastDrawCalls; } static unsigned int mDrawCalls; @@ -35,6 +36,6 @@ public: #endif protected: - void debugBindTexture(const Image *const image); + void debugBindTexture(const Image *restrict const image) restrict2; - void deleteArraysInternal(); + void deleteArraysInternal() restrict2; |