Permalink
Browse files

Fix OpenGL video profiles creation

OpenGL video profiles should only be created if OpenGL Video is enabled, not OpenGL painter
  • Loading branch information...
1 parent 79527b1 commit 072a38af3c9a83d08055fc4e4bc4981d6a792c6a @jyavenard jyavenard committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/programs/mythfrontend/globalsettings.cpp
@@ -1169,7 +1169,7 @@ PlaybackProfileConfigs::PlaybackProfileConfigs(const QString &str) :
}
#endif
-#ifdef USING_OPENGL
+#ifdef USING_OPENGL_VIDEO
if (!profiles.contains("OpenGL Normal") &&
!profiles.contains("OpenGL High Quality") &&
!profiles.contains("OpenGL Slim"))

0 comments on commit 072a38a

Please sign in to comment.