mirror of https://github.com/mpv-player/mpv
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;
|
break;
|
||||||
case YUV_CONVERSION_TEXT_FRAGMENT:
|
case YUV_CONVERSION_TEXT_FRAGMENT:
|
||||||
mpglDisable(GL_TEXT_FRAGMENT_SHADER_ATI);
|
mpglDisable(GL_TEXT_FRAGMENT_SHADER_ATI);
|
||||||
// HACK: at least the 10.5 Radeon drivers are broken
|
// HACK: at least the Mac OS X 10.5 PPC Radeon drivers are broken and
|
||||||
// and without this disable the texture units while
|
// without this disable the texture units while the program is still
|
||||||
// the program is still running
|
// running (10.4 PPC seems to work without this though).
|
||||||
mpglFlush();
|
mpglFlush();
|
||||||
mpglActiveTexture(GL_TEXTURE1);
|
mpglActiveTexture(GL_TEXTURE1);
|
||||||
mpglDisable(target);
|
mpglDisable(target);
|
||||||
|
|
Loading…
Reference in New Issue