From c456cb3f7eea27839c4b2689d77ddc09926fb8c6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Dec 2015 03:27:23 +0300 Subject: Add restrict to all methods in graphics. --- src/render/modernopenglgraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/modernopenglgraphics.cpp') diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp index 206755dd0..5fc6f27ac 100644 --- a/src/render/modernopenglgraphics.cpp +++ b/src/render/modernopenglgraphics.cpp @@ -1216,7 +1216,7 @@ void ModernOpenGLGraphics::clearScreen() const restrict2 GL_STENCIL_BUFFER_BIT); } -void ModernOpenGLGraphics::createGLContext() +void ModernOpenGLGraphics::createGLContext() restrict2 { if (mGLContext) SDL::makeCurrentContext(mGLContext); -- cgit v1.2.3-70-g09d2