mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
310c05b97a
177 changed files with 514 additions and 4888 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