Fix the conditional.
draft
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
--- 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();