From 5be3fc9c94df700a903f1f67b9f15297df5efc1d Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 23 Dec 2008 20:56:45 +0000 Subject: 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 --- libvo/vo_gl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libvo') 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"); } /** -- cgit v1.2.3