Fix the conditional. draft
authorJeff Gilbert <jdashg@gmail.com>
Tue, 12 Apr 2016 15:13:06 -0700
changeset 354503 7d8a6715c31504d2c5f05803b2c1510d8e8adce3
parent 354502 b1d4c37a188ddf1b8e37c9ec914821cb48577ad7
child 354504 e8427594f9a17e2e64648ebbb7a6d4ec856b9574
push id16095
push userjgilbert@mozilla.com
push dateThu, 21 Apr 2016 00:49:36 +0000
milestone48.0a1
Fix the conditional. From 316d2e120e0f3b8e4592ca2d15f9f7322d347c6c Mon Sep 17 00:00:00 2001 --- gfx/gl/GLContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) MozReview-Commit-ID: BjJRy9bdLtX
gfx/gl/GLContext.cpp
--- a/gfx/gl/GLContext.cpp
+++ b/gfx/gl/GLContext.cpp
@@ -818,17 +818,17 @@ GLContext::InitWithPrefixImpl(const char
 
     // We need this for retrieving the list of extensions on Core profiles.
     if (IsFeatureProvidedByCoreSymbols(GLFeature::get_string_indexed)) {
         const SymLoadStruct symbols[] = {
             { (PRFuncPtr*) &mSymbols.fGetStringi, { "GetStringi", nullptr } },
             END_SYMBOLS
         };
 
-        if (LoadGLSymbols(this, prefix, trygl, symbols, "get_string_indexed")) {
+        if (!LoadGLSymbols(this, prefix, trygl, symbols, "get_string_indexed")) {
             MOZ_RELEASE_ASSERT(false, "get_string_indexed is required!");
             return false;
         }
     }
 
     InitExtensions();
     InitFeatures();