# HG changeset patch # User reimar # Date 1230060716 0 # Node ID 712225607a2c529f3d49a41e2e372a156ddf0785 # Parent c6c0c64eee7c32a5a5b813d85dc557bd061aabdc Do not default to rectangle=2, it is at least for ATI HD4850 cards with 8.12 drivers 20% slower at HD resolutions diff -r c6c0c64eee7c -r 712225607a2c libvo/vo_gl.c --- a/libvo/vo_gl.c Tue Dec 23 19:10:40 2008 +0000 +++ b/libvo/vo_gl.c Tue Dec 23 19:31:56 2008 +0000 @@ -407,7 +407,7 @@ int is_ati = strstr(vendor, "ATI") != NULL; 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") ? 2 : 0; + if (use_rectangle == -1) use_rectangle = strstr(extensions, "_texture_non_power_of_two") ? 0 : 0; } /**