mirror of
https://github.com/processing/processing4.git
synced 2026-02-19 05:15:34 +01:00
PGL.threadIsCurrent() is not static to avoid problems with subclassed renderers
This commit is contained in:
@@ -1203,7 +1203,7 @@ public class PGL {
|
||||
}
|
||||
|
||||
|
||||
protected static boolean glThreadIsCurrent() {
|
||||
protected boolean threadIsCurrent() {
|
||||
return Thread.currentThread() == glThread;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user