mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
ac529dea46
commit
d7e61cc28c
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user