diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-12-23 20:56:45 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-12-23 20:56:45 +0000 |
commit | 5be3fc9c94df700a903f1f67b9f15297df5efc1d (patch) | |
tree | ca540632ca2b4f5d48dee5ff98320e58e5276be3 /libvo | |
parent | 8eda502f59a13cfd1f9a21db4b72f6a911cdf70d (diff) | |
download | mpv-5be3fc9c94df700a903f1f67b9f15297df5efc1d.tar.bz2 mpv-5be3fc9c94df700a903f1f67b9f15297df5efc1d.tar.xz |
Warn when using features that are broken due to ATI driver bugs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28188 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_gl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 128dc4def5..4f6cb3acea 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -408,6 +408,9 @@ static void autodetectGlExtensions(void) { if (ati_hack == -1) ati_hack = is_ati; if (force_pbo == -1) force_pbo = strstr(extensions, "_pixel_buffer_object") ? is_ati : 0; if (use_rectangle == -1) use_rectangle = strstr(extensions, "_texture_non_power_of_two") ? 0 : 0; + if (is_ati && (lscale == 1 || lscale == 2 || cscale == 1 || cscale == 2)) + mp_msg(MSGT_VO, MSGL_WARN, "Selected scaling mode may be broken on ATI cards.\n" + "Tell _them_ to fix GL_REPEAT if you have issues.\n"); } /** |