mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 475168143f2e (bug 980178) to fix webgl bustage on a CLOSED TREE
This commit is contained in:
parent
3ba6da388d
commit
028d03e735
@ -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