mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
No issue - Stop WebGL context forcing spew in non-debug builds.
This commit is contained in:
parent
60e671e956
commit
a6c54d0736
1 changed files with 4 additions and 0 deletions
|
|
@ -1824,7 +1824,9 @@ WebGLContext::UpdateContextLossStatus()
|
|||
void
|
||||
WebGLContext::ForceLoseContext(bool simulateLosing)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf_stderr("WebGL(%p)::ForceLoseContext\n", this);
|
||||
#endif
|
||||
MOZ_ASSERT(!IsContextLost());
|
||||
mContextStatus = ContextLostAwaitingEvent;
|
||||
mContextLostErrorSet = false;
|
||||
|
|
@ -1840,7 +1842,9 @@ WebGLContext::ForceLoseContext(bool simulateLosing)
|
|||
void
|
||||
WebGLContext::ForceRestoreContext()
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf_stderr("WebGL(%p)::ForceRestoreContext\n", this);
|
||||
#endif
|
||||
mContextStatus = ContextLostAwaitingRestore;
|
||||
mAllowContextRestore = true; // Hey, you did say 'force'.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue