fix compilation when USE_OPENGL is not defined
This commit is contained in:
parent
4a7d29c6e5
commit
1ef11c108c
2 changed files with 4 additions and 0 deletions
|
@ -174,7 +174,9 @@ OSystem_SDL::OSystem_SDL()
|
||||||
_overlayscreen(0),
|
_overlayscreen(0),
|
||||||
_overlayWidth(0), _overlayHeight(0),
|
_overlayWidth(0), _overlayHeight(0),
|
||||||
_overlayDirty(true), _overlayNumTex(0),
|
_overlayDirty(true), _overlayNumTex(0),
|
||||||
|
#ifdef USE_OPENGL
|
||||||
_overlayTexIds(0),
|
_overlayTexIds(0),
|
||||||
|
#endif
|
||||||
_samplesPerSec(0),
|
_samplesPerSec(0),
|
||||||
_cdrom(0),
|
_cdrom(0),
|
||||||
|
|
||||||
|
|
|
@ -190,7 +190,9 @@ protected:
|
||||||
int _overlayWidth, _overlayHeight;
|
int _overlayWidth, _overlayHeight;
|
||||||
bool _overlayDirty;
|
bool _overlayDirty;
|
||||||
int _overlayNumTex;
|
int _overlayNumTex;
|
||||||
|
#ifdef USE_OPENGL
|
||||||
GLuint *_overlayTexIds;
|
GLuint *_overlayTexIds;
|
||||||
|
#endif
|
||||||
|
|
||||||
void closeOverlay();
|
void closeOverlay();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue