mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
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
This commit is contained in:
parent
082b91fc9f
commit
8eda502f59
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user