Skip to content

Commit

Permalink
Fix OpenGL video profiles creation
Browse files Browse the repository at this point in the history
OpenGL video profiles should only be created if OpenGL Video is enabled, not OpenGL painter
  • Loading branch information
jyavenard committed Apr 14, 2012
1 parent 79527b1 commit 072a38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythfrontend/globalsettings.cpp
Expand Up @@ -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"))
Expand Down

0 comments on commit 072a38a

Please sign in to comment.