From 00af4293977a335f16761be5d2d8b99fe95ecd42 Mon Sep 17 00:00:00 2001 From: Wes Kocher Date: Mon, 12 May 2014 19:10:30 -0700 Subject: [PATCH] Backed out changeset 475168143f2e (bug 980178) to fix webgl bustage on a CLOSED TREE --- content/canvas/src/WebGLContext.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/canvas/src/WebGLContext.cpp b/content/canvas/src/WebGLContext.cpp index eff0c24e23bb..387a161a9d92 100644 --- a/content/canvas/src/WebGLContext.cpp +++ b/content/canvas/src/WebGLContext.cpp @@ -1311,6 +1311,7 @@ WebGLContext::UpdateContextLossStatus() void WebGLContext::ForceLoseContext() { + printf_stderr("WebGL(%p)::ForceLoseContext\n", this); MOZ_ASSERT(!IsContextLost()); mContextStatus = ContextLostAwaitingEvent; mContextLostErrorSet = false; @@ -1326,6 +1327,7 @@ WebGLContext::ForceLoseContext() void WebGLContext::ForceRestoreContext() { + printf_stderr("WebGL(%p)::ForceRestoreContext\n", this); mContextStatus = ContextLostAwaitingRestore; mAllowContextRestore = true; // Hey, you did say 'force'.