Bug 923194. Make GLContext::InitWithPrefix not fatally assert when the GL version is too low. r=bjacob

--HG--
extra : rebase_source : 50af716547bbfb7cd25a828d708b2a9553e91c56
This commit is contained in:
Robert O'Callahan 2013-10-03 07:40:28 -04:00
parent ac529dea46
commit d7e61cc28c

View File

@ -459,7 +459,8 @@ GLContext::InitWithPrefix(const char *prefix, bool trygl)
if (version >= mVersion) {
mVersion = version;
} else if (parseSuccess) {
MOZ_ASSERT(false, "Parsed version less than expected.");
NS_WARNING("Parsed version less than expected.");
mInitialized = false;
}
}