summary refs log tree commit diff stats
path: root/src/renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer.h')
-rw-r--r--src/renderer.h6
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;