summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-25 06:14:25 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-25 06:14:25 +0000
commit56af15374be7788e56d358e411ab6d9944624775 (patch)
tree5958b840f3b899267aa31a650ba0c2c935cddef5 /libvo
parente9ef1cbda0dd652c41459571dc9026325dac1f83 (diff)
downloadmpv-56af15374be7788e56d358e411ab6d9944624775.tar.bz2
mpv-56af15374be7788e56d358e411ab6d9944624775.tar.xz
Clarify that the GL_TEXT_FRAGMENT_SHADER_ATI bug workaround is for OSX,
and which versions are known good/known bad. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31071 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/gl_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c
index a25a3ba9d4..ca45d4d5ee 100644
--- a/libvo/gl_common.c
+++ b/libvo/gl_common.c
@@ -1511,9 +1511,9 @@ void glDisableYUVConversion(GLenum target, int type) {
break;
case YUV_CONVERSION_TEXT_FRAGMENT:
mpglDisable(GL_TEXT_FRAGMENT_SHADER_ATI);
- // HACK: at least the 10.5 Radeon drivers are broken
- // and without this disable the texture units while
- // the program is still running
+ // HACK: at least the Mac OS X 10.5 PPC Radeon drivers are broken and
+ // without this disable the texture units while the program is still
+ // running (10.4 PPC seems to work without this though).
mpglFlush();
mpglActiveTexture(GL_TEXTURE1);
mpglDisable(target);