Don't pass around naked Surface pointers when drawing

Use references instead.
This commit is contained in:
Maarten ter Huurne committed 2014-08-10 04:26:59 +02:00
1 parent 20c5ec4eb6
commit aff5f53f7d
34 files changed
+255 -220

No files matched your search

+1 -2
View File
@@ -23,8 +23,7 @@ public:
bool handleTS();
void paint(Surface *s);
void paint() { paint(gmenu2x->s); }
void paint(Surface& s);
private:
void recalcRects();