From 8eda502f59a13cfd1f9a21db4b72f6a911cdf70d Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 23 Dec 2008 19:31:56 +0000 Subject: [PATCH] Do not default to rectangle=2, it is at least for ATI HD4850 cards with 8.12 drivers 20% slower at HD resolutions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28187 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 7f59aee55c..128dc4def5 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -407,7 +407,7 @@ static void autodetectGlExtensions(void) { 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; } /**