mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-25 01:01:52 +00:00
Backed out changeset 475168143f2e (bug 980178) to fix webgl bustage on a CLOSED TREE
This commit is contained in:
parent
f679759455
commit
00af429397
@ -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'.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user