fixed potential audio glitch on mac
This commit is contained in:
parent
df01df9fed
commit
05c2392125
File diff suppressed because it is too large
Load Diff
|
@ -186,7 +186,6 @@ public class EaglerAdapterImpl2 {
|
|||
throw new RuntimeException("WebGL 2.0 is not supported in your browser ("+getString("window.navigator.userAgent")+")");
|
||||
}
|
||||
setContextVar(webgl);
|
||||
audioctx = AudioContext.create();
|
||||
|
||||
//String agent = getString("window.navigator.userAgent").toLowerCase();
|
||||
//if(agent.contains("windows")) isAnisotropicPatched = false;
|
||||
|
@ -329,6 +328,8 @@ public class EaglerAdapterImpl2 {
|
|||
}
|
||||
}
|
||||
|
||||
audioctx = AudioContext.create();
|
||||
|
||||
mouseEvents.clear();
|
||||
keyEvents.clear();
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user