From d7e61cc28c9ade500d5d4e38cd9e5920dfd03f11 Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Thu, 3 Oct 2013 07:40:28 -0400 Subject: [PATCH] Bug 923194. Make GLContext::InitWithPrefix not fatally assert when the GL version is too low. r=bjacob --HG-- extra : rebase_source : 50af716547bbfb7cd25a828d708b2a9553e91c56 --- gfx/gl/GLContext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/gl/GLContext.cpp b/gfx/gl/GLContext.cpp index b4ddc2bac1b..785106883c0 100644 --- a/gfx/gl/GLContext.cpp +++ b/gfx/gl/GLContext.cpp @@ -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; } }