summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsvertexes.cpp')
-rw-r--r--src/graphicsvertexes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphicsvertexes.cpp b/src/graphicsvertexes.cpp
index b6451a3e4..4c144cad0 100644
--- a/src/graphicsvertexes.cpp
+++ b/src/graphicsvertexes.cpp
@@ -213,7 +213,7 @@ void GraphicsVertexes::setLoadAsOpenGL(int useOpenGL)
}
#endif
-void GraphicsVertexes::pushSDL(const SDL_Rect r1, const SDL_Rect r2)
+void GraphicsVertexes::pushSDL(const SDL_Rect &r1, const SDL_Rect &r2)
{
DoubleRect *const r = new DoubleRect();
r->src = r1;