summaryrefslogtreecommitdiff
path: root/src/render/graphics_drawImageRect.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-24 18:40:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-24 18:40:58 +0300
commit1f4cf5720cd6c432c2544d34a804c96b8c7858f0 (patch)
treeb6aed7380783bdcb03a00173ba687ed9438ea862 /src/render/graphics_drawImageRect.hpp
parent81f3aa012e66c5b7b0d1e625b27753a02dbcefd1 (diff)
downloadmv-1f4cf5720cd6c432c2544d34a804c96b8c7858f0.tar.gz
mv-1f4cf5720cd6c432c2544d34a804c96b8c7858f0.tar.bz2
mv-1f4cf5720cd6c432c2544d34a804c96b8c7858f0.tar.xz
mv-1f4cf5720cd6c432c2544d34a804c96b8c7858f0.zip
Add restrict keyword in graphics_drawImageRect.hpp
Diffstat (limited to 'src/render/graphics_drawImageRect.hpp')
-rw-r--r--src/render/graphics_drawImageRect.hpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/render/graphics_drawImageRect.hpp b/src/render/graphics_drawImageRect.hpp
index 6027d40c5..85d4730c3 100644
--- a/src/render/graphics_drawImageRect.hpp
+++ b/src/render/graphics_drawImageRect.hpp
@@ -27,16 +27,16 @@
BLOCK_START("Graphics::drawImageRect")
-const Image *const *const grid = imgRect.grid;
-const Image *const topLeft = grid[0];
-const Image *const topRight = grid[2];
-const Image *const bottomLeft = grid[6];
-const Image *const bottomRight = grid[8];
-const Image *const top = grid[1];
-const Image *const right = grid[5];
-const Image *const bottom = grid[7];
-const Image *const left = grid[3];
-const Image *const center = grid[4];
+const Image *restrict const *restrict const grid = imgRect.grid;
+const Image *restrict const topLeft = grid[0];
+const Image *restrict const topRight = grid[2];
+const Image *restrict const bottomLeft = grid[6];
+const Image *restrict const bottomRight = grid[8];
+const Image *restrict const top = grid[1];
+const Image *restrict const right = grid[5];
+const Image *restrict const bottom = grid[7];
+const Image *restrict const left = grid[3];
+const Image *restrict const center = grid[4];
const bool drawMain = center && topLeft && topRight
&& bottomLeft && bottomRight;