# HG changeset patch # User reimar # Date 1230065805 0 # Node ID 1c34bd14e6b61dfa6a605583adecedbe4e35609c # Parent 712225607a2c529f3d49a41e2e372a156ddf0785 Warn when using features that are broken due to ATI driver bugs. diff -r 712225607a2c -r 1c34bd14e6b6 libvo/vo_gl.c --- a/libvo/vo_gl.c Tue Dec 23 19:31:56 2008 +0000 +++ b/libvo/vo_gl.c Tue Dec 23 20:56:45 2008 +0000 @@ -408,6 +408,9 @@ 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"); } /**