Marked a variable as SDL1.2 only
This commit is contained in:
parent
64a5ae6851
commit
68a7259265
2 changed files with 4 additions and 0 deletions
|
@ -395,7 +395,9 @@ CVideo::CVideo(FAKE_TYPES type) :
|
|||
shader_(),
|
||||
#endif
|
||||
mode_changed_(false),
|
||||
#if !SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
bpp_(0),
|
||||
#endif
|
||||
fake_screen_(false),
|
||||
help_string_(0),
|
||||
updatesLocked_(0)
|
||||
|
|
|
@ -257,7 +257,9 @@ private:
|
|||
|
||||
bool mode_changed_;
|
||||
|
||||
#if !SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
int bpp_; // Store real bits per pixel
|
||||
#endif
|
||||
|
||||
//if there is no display at all, but we 'fake' it for clients
|
||||
bool fake_screen_;
|
||||
|
|
Loading…
Add table
Reference in a new issue