summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-24 18:39:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-24 18:39:18 +0300
commit81f3aa012e66c5b7b0d1e625b27753a02dbcefd1 (patch)
tree4fbcceb78444d650dd70bb037c3a9a606d380e05 /src
parent67ee3168a45ea09a863de5be2e0a94cf1afbe6dc (diff)
downloadmanaverse-81f3aa012e66c5b7b0d1e625b27753a02dbcefd1.tar.gz
manaverse-81f3aa012e66c5b7b0d1e625b27753a02dbcefd1.tar.bz2
manaverse-81f3aa012e66c5b7b0d1e625b27753a02dbcefd1.tar.xz
manaverse-81f3aa012e66c5b7b0d1e625b27753a02dbcefd1.zip
Add restrict keyword in graphics_calcImageRect.hpp
Diffstat (limited to 'src')
-rw-r--r--src/render/graphics_calcImageRect.hpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/render/graphics_calcImageRect.hpp b/src/render/graphics_calcImageRect.hpp
index 5571cf468..8838bc9f3 100644
--- a/src/render/graphics_calcImageRect.hpp
+++ b/src/render/graphics_calcImageRect.hpp
@@ -31,16 +31,16 @@ if (!vert)
BLOCK_START("Graphics::calcImageRect")
-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;