diff options
| author | degasus <wickmarkus@web.de> | 2013-08-27 13:24:23 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2013-08-27 13:24:23 +0200 |
| commit | 40a1cb5dfed6d5b255d1f330af2cdc14446e0b53 (patch) | |
| tree | da2efef5e073e0b29adafca4ab9317275bf3e4ed /Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp | |
| parent | 4a863c88b43cc1968c54f3c7ebcfbeceec38bf91 (diff) | |
ogl: warn on osd if not supported features are enabled
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp b/Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp index eeea9da38b..f3b8578b23 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp @@ -5,6 +5,7 @@ #include "Globals.h" #include "FramebufferManager.h" #include "VertexShaderGen.h" +#include "OnScreenDisplay.h" #include "TextureConverter.h" #include "Render.h" @@ -366,6 +367,13 @@ void FramebufferManager::ReinterpretPixelData(unsigned int convtype) { if(g_ogl_config.eSupportedGLSLVersion == GLSL_120) { // This feature isn't supported by glsl120 + + // TODO: move this to InitBackendInfo + // We have to disable both the active and the stored config. Else we would either + // show this line per format change in one frame or once per frame. + OSD::AddMessage("Format Change Emulation isn't supported by your GPU.", 10000); + g_ActiveConfig.bEFBEmulateFormatChanges = false; + g_Config.bEFBEmulateFormatChanges = false; return; } |
