fix compilation when USE_OPENGL is not defined

This commit is contained in:
Joost Peters 2010-05-17 16:24:57 +00:00
parent 4a7d29c6e5
commit 1ef11c108c
2 changed files with 4 additions and 0 deletions

View file

@ -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),

View file

@ -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();