diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-11 11:15:28 -0400 | 
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-11 11:15:28 -0400 | 
| commit | ea0a959c2405511255080cae9f9558f2711a887f (patch) | |
| tree | 4ca85bad4d709396c5197374c0cf6a33bbff895b /src/renderer.h | |
| parent | 0e0389752a0912614737e5c059b5cd4719ef9cf2 (diff) | |
| download | therapy-ea0a959c2405511255080cae9f9558f2711a887f.tar.gz therapy-ea0a959c2405511255080cae9f9558f2711a887f.tar.bz2 therapy-ea0a959c2405511255080cae9f9558f2711a887f.zip  | |
Fixed bug where one could fall through the floor after changing maps
Diffstat (limited to 'src/renderer.h')
| -rw-r--r-- | src/renderer.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| 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 { | |||
| 21 | Texture& operator= (Texture tex); | 21 | Texture& operator= (Texture tex); | 
| 22 | friend void swap(Texture& tex1, Texture& tex2); | 22 | friend void swap(Texture& tex1, Texture& tex2); | 
| 23 | void fill(Rectangle loc, int r, int g, int b); | 23 | void fill(Rectangle loc, int r, int g, int b); | 
| 24 | void blit(Texture& src, Rectangle srcrect, Rectangle dstrect); | 24 | void blit(const Texture& src, Rectangle srcrect, Rectangle dstrect); | 
| 25 | void renderScreen(); | 25 | void renderScreen() const; | 
| 26 | Rectangle entirety(); | 26 | Rectangle entirety() const; | 
| 27 | 27 | ||
| 28 | private: | 28 | private: | 
| 29 | GLuint texID; | 29 | GLuint texID; | 
