mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 593867: removed nvidia check for forcing getProgramParameter() so it now returns 1 on any Mac OSX setup
This commit is contained in:
parent
8230e78d43
commit
a32b0c9e31
@ -2340,14 +2340,8 @@ WebGLContext::GetProgramParameter(nsIWebGLProgram *pobj, PRUint32 pname, nsIVari
|
||||
{
|
||||
GLint i = 0;
|
||||
#ifdef XP_MACOSX
|
||||
if (pname == LOCAL_GL_VALIDATE_STATUS &&
|
||||
gl->Vendor() == gl::GLContext::VendorNVIDIA)
|
||||
{
|
||||
// See comment in ValidateProgram below.
|
||||
i = 1;
|
||||
} else {
|
||||
gl->fGetProgramiv(progname, pname, &i);
|
||||
}
|
||||
// See comment in ValidateProgram below.
|
||||
i = 1;
|
||||
#else
|
||||
gl->fGetProgramiv(progname, pname, &i);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user