mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Move gameScreen off of the stack and onto the heap
Just so it can be properly used globally like all the other classes.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
class Screen
|
||||
{
|
||||
public:
|
||||
Screen();
|
||||
void init();
|
||||
|
||||
void ResizeScreen(int x, int y);
|
||||
void GetWindowSize(int* x, int* y);
|
||||
@@ -33,6 +33,6 @@ public:
|
||||
SDL_Rect filterSubrect;
|
||||
};
|
||||
|
||||
|
||||
extern Screen gameScreen;
|
||||
|
||||
#endif /* SCREEN_H */
|
||||
|
||||
Reference in New Issue
Block a user