зеркало из https://github.com/mozilla/gecko-dev.git
Bug 593867 - crash [@WebGLContext::ValidateProgram] in NVIDIA driver on Mac - r=vladimir
This commit is contained in:
Родитель
de95ac94af
Коммит
536a45de2c
|
@ -3183,6 +3183,14 @@ WebGLContext::ValidateProgram(nsIWebGLProgram *pobj)
|
|||
|
||||
MakeContextCurrent();
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
if (gl->Vendor() == gl::GLContext::VendorNVIDIA) {
|
||||
LogMessageIfVerbose("validateProgram: implemented as a no-operation "
|
||||
"on Mac/NVIDIA to work around a driver crash");
|
||||
return NS_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
gl->fValidateProgram(progname);
|
||||
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче