mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-11 18:25:39 +00:00
Removed Suspend call before MakeCurrent()
This commit is contained in:
parent
db10c23942
commit
8f621f4586
|
@ -56,14 +56,10 @@ 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