mirror of
https://github.com/mpv-player/mpv
synced 2025-02-23 00:06:56 +00:00
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
This commit is contained in:
parent
e9ef1cbda0
commit
56af15374b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user