mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 15:35:09 +00:00
Removed all instances of synchronized, as we're not really multithread safe anyway. It is up to the user of LWJGL to synchronize access to LWJGL
This commit is contained in:
parent
72afa14aa3
commit
8040e723c6
4 changed files with 10 additions and 10 deletions
|
|
@ -229,7 +229,7 @@ public final class GLContext {
|
|||
* the native stubs are unloaded.
|
||||
* @throws LWJGLException if context non-null, and the gl library can't be loaded or the basic GL11 functions can't be loaded
|
||||
*/
|
||||
public static synchronized void useContext(Object context) throws LWJGLException {
|
||||
public static void useContext(Object context) throws LWJGLException {
|
||||
if (context == null) {
|
||||
unloadStubs();
|
||||
if (did_auto_load)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue