cleanup
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
|
||||
class LowLevelWindow_SDL: public LowLevelWindow
|
||||
{
|
||||
RageDisplay::VideoModeParams CurrentParams;
|
||||
|
||||
public:
|
||||
LowLevelWindow_SDL();
|
||||
~LowLevelWindow_SDL();
|
||||
@@ -16,7 +14,11 @@ public:
|
||||
void Update(float fDeltaTime);
|
||||
|
||||
RageDisplay::VideoModeParams GetVideoModeParams() const { return CurrentParams; }
|
||||
|
||||
private:
|
||||
RageDisplay::VideoModeParams CurrentParams;
|
||||
};
|
||||
|
||||
#ifdef ARCH_LOW_LEVEL_WINDOW
|
||||
#error "More than one LowLevelWindow selected!"
|
||||
#endif
|
||||
|
||||
@@ -15,6 +15,7 @@ public:
|
||||
|
||||
RageDisplay::VideoModeParams GetVideoModeParams() const;
|
||||
};
|
||||
|
||||
#ifdef ARCH_LOW_LEVEL_WINDOW
|
||||
#error "More than one LowLevelWindow selected!"
|
||||
#endif
|
||||
|
||||
@@ -7,10 +7,6 @@
|
||||
|
||||
class LowLevelWindow_X11 : public LowLevelWindow
|
||||
{
|
||||
private:
|
||||
bool m_bWindowIsOpen;
|
||||
RageDisplay::VideoModeParams CurrentParams;
|
||||
|
||||
public:
|
||||
LowLevelWindow_X11();
|
||||
~LowLevelWindow_X11();
|
||||
@@ -20,7 +16,12 @@ public:
|
||||
void SwapBuffers();
|
||||
|
||||
RageDisplay::VideoModeParams GetVideoModeParams() const { return CurrentParams; }
|
||||
|
||||
private:
|
||||
bool m_bWindowIsOpen;
|
||||
RageDisplay::VideoModeParams CurrentParams;
|
||||
};
|
||||
|
||||
#ifdef ARCH_LOW_LEVEL_WINDOW
|
||||
#error "More than one LowLevelWindow selected!"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user