OPENGL: Prevent access to a few more members in the SDL OpenGL code.
This commit is contained in:
parent
05af37c08e
commit
5b3ebdf43d
3 changed files with 17 additions and 11 deletions
|
@ -217,6 +217,7 @@ protected:
|
|||
|
||||
uint getAspectRatio() const;
|
||||
|
||||
void setFormatIsBGR(bool isBGR) { _formatBGR = isBGR; }
|
||||
bool _formatBGR;
|
||||
|
||||
//
|
||||
|
@ -285,6 +286,14 @@ protected:
|
|||
int _cursorTargetScale;
|
||||
bool _cursorNeedsRedraw;
|
||||
|
||||
/**
|
||||
* Set up the mouse position for graphics output.
|
||||
*
|
||||
* @param x X coordinate in native coordinates.
|
||||
* @param y Y coordinate in native coordinates.
|
||||
*/
|
||||
void setMousePosition(int x, int y) { _cursorState.x = x; _cursorState.y = y; }
|
||||
|
||||
virtual void refreshCursor();
|
||||
virtual void refreshCursorScale();
|
||||
|
||||
|
@ -311,11 +320,6 @@ protected:
|
|||
virtual bool saveScreenshot(const char *filename);
|
||||
|
||||
#ifdef USE_OSD
|
||||
/**
|
||||
* The OSD contents.
|
||||
*/
|
||||
Common::Array<Common::String> _osdLines;
|
||||
|
||||
/**
|
||||
* Returns the font used for on screen display
|
||||
*/
|
||||
|
@ -326,6 +330,11 @@ protected:
|
|||
*/
|
||||
void updateOSD();
|
||||
|
||||
/**
|
||||
* The OSD contents.
|
||||
*/
|
||||
Common::Array<Common::String> _osdLines;
|
||||
|
||||
GLTexture *_osdTexture;
|
||||
Graphics::Surface _osdSurface;
|
||||
uint8 _osdAlpha;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue