changeset 28152:712225607a2c

Do not default to rectangle=2, it is at least for ATI HD4850 cards with 8.12 drivers 20% slower at HD resolutions
author reimar
date Tue, 23 Dec 2008 19:31:56 +0000
parents c6c0c64eee7c
children 1c34bd14e6b6
files libvo/vo_gl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }
 
 /**