diff options
Diffstat (limited to '')
-rw-r--r-- | www/firefox/files/patch-bug1394265 | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/www/firefox/files/patch-bug1394265 b/www/firefox/files/patch-bug1394265 deleted file mode 100644 index 15d00bc63722..000000000000 --- a/www/firefox/files/patch-bug1394265 +++ /dev/null @@ -1,24 +0,0 @@ -commit a51675964a63 -Author: Jeff Gilbert <jgilbert@mozilla.com> -Date: Tue Oct 17 17:14:29 2017 -0700 - - Bug 1394265 - Set MAX_COMBINED_TEXTURE_IMAGE_UNITS to 0 if GetIntegeriv fails. - r=daoshengmu a=ritu - - MozReview-Commit-ID: 5h6UPXczKhb ---- - dom/canvas/WebGLContextValidate.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git dom/canvas/WebGLContextValidate.cpp dom/canvas/WebGLContextValidate.cpp -index a8334e546414..ebf0aa8c2d78 100644 ---- dom/canvas/WebGLContextValidate.cpp -+++ dom/canvas/WebGLContextValidate.cpp -@@ -554,7 +554,7 @@ WebGLContext::InitAndValidateGL(FailureReason* const out_failReason) - if (MinCapabilityMode()) - mGLMaxTextureUnits = MINVALUE_GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS; - else -- gl->fGetIntegerv(LOCAL_GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, &mGLMaxTextureUnits); -+ mGLMaxTextureUnits = gl->GetIntAs<GLint>(LOCAL_GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS); - - if (mGLMaxTextureUnits < 8) { - const nsPrintfCString reason("GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS: %d is < 8!", |