Advertisement
Guest User

enable 16-235 for gles

a guest
Jul 2nd, 2014
523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.99 KB | None | 0 0
  1. diff --git a/system/settings/settings.xml b/system/settings/settings.xml
  2. index f92bd59..e534d18 100644
  3. --- a/system/settings/settings.xml
  4. +++ b/system/settings/settings.xml
  5. @@ -2357,6 +2357,7 @@
  6.            <requirement>
  7.              <or>
  8.                <condition>HAS_GL</condition>
  9. +              <condition>HAS_GLES</condition>
  10.                <condition>HAS_DX</condition>
  11.              </or>
  12.            </requirement>
  13. diff --git a/xbmc/windowing/WinSystem.cpp b/xbmc/windowing/WinSystem.cpp
  14. index 3ca5677..fa37ef1 100644
  15. --- a/xbmc/windowing/WinSystem.cpp
  16. +++ b/xbmc/windowing/WinSystem.cpp
  17. @@ -233,7 +233,7 @@ REFRESHRATE CWinSystemBase::DefaultRefreshRate(int screen, vector<REFRESHRATE> r
  18.  
  19.  bool CWinSystemBase::UseLimitedColor()
  20.  {
  21. -#if defined(HAS_GL) || defined(HAS_DX)
  22. +#if defined(HAS_GL) || defined(HAS_GLES) || defined(HAS_DX)
  23.    static CSettingBool* setting = (CSettingBool*)CSettings::Get().GetSetting("videoscreen.limitedrange");
  24.    return setting->GetValue();
  25.  #else
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement