diff options
Diffstat (limited to 'backends/graphics/opengl')
| -rw-r--r-- | backends/graphics/opengl/opengl-graphics.cpp | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index bea9c927e5..8861d364e6 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -758,7 +758,7 @@ void OpenGLGraphicsManager::displayMessageOnOSD(const char *msg) {  void OpenGLGraphicsManager::copyRectToOSD(const void *buf, int pitch, int x, int y, int w, int h) {  #ifdef USE_OSD -	warning("implement copyRectToOSD"); //TODO +	_osd->copyRectToTexture(x, y, w, h, buf, pitch);  #endif  } @@ -779,7 +779,9 @@ void OpenGLGraphicsManager::clearOSD() {  #endif  } -Graphics::PixelFormat OpenGLGraphicsManager::getOSDFormat() { return Graphics::PixelFormat(); } //TODO +Graphics::PixelFormat OpenGLGraphicsManager::getOSDFormat() { +	return _defaultFormatAlpha; +}  void OpenGLGraphicsManager::setPalette(const byte *colors, uint start, uint num) {  	assert(_gameScreen->hasPalette()); | 
