mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-29 18:17:05 +00:00
Trying to debug alcMakeContextCurrent crash on Linux.
This commit is contained in:
parent
4fa393a03f
commit
9855854b39
|
@ -56,10 +56,14 @@ namespace Examples
|
||||||
context.IsCurrent = false;
|
context.IsCurrent = false;
|
||||||
Trace.Assert(!context.IsCurrent);
|
Trace.Assert(!context.IsCurrent);
|
||||||
|
|
||||||
|
context.Suspend();
|
||||||
|
|
||||||
Trace.WriteLine("IsCurrent = true...");
|
Trace.WriteLine("IsCurrent = true...");
|
||||||
context.IsCurrent = true;
|
context.IsCurrent = true;
|
||||||
Trace.Assert(!context.IsCurrent);
|
Trace.Assert(!context.IsCurrent);
|
||||||
|
|
||||||
|
context.Process();
|
||||||
|
|
||||||
Trace.WriteLine("AudioContext.CurrentContext...");
|
Trace.WriteLine("AudioContext.CurrentContext...");
|
||||||
Trace.Assert(AudioContext.CurrentContext == context);
|
Trace.Assert(AudioContext.CurrentContext == context);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue