From ea0a959c2405511255080cae9f9558f2711a887f Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 11 Mar 2015 11:15:28 -0400 Subject: Fixed bug where one could fall through the floor after changing maps --- src/renderer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/renderer.h') diff --git a/src/renderer.h b/src/renderer.h index 509e935..377b9ee 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -21,9 +21,9 @@ class Texture { Texture& operator= (Texture tex); friend void swap(Texture& tex1, Texture& tex2); void fill(Rectangle loc, int r, int g, int b); - void blit(Texture& src, Rectangle srcrect, Rectangle dstrect); - void renderScreen(); - Rectangle entirety(); + void blit(const Texture& src, Rectangle srcrect, Rectangle dstrect); + void renderScreen() const; + Rectangle entirety() const; private: GLuint texID; -- cgit 1.4.1