clear static refs (at least on re-init)
This commit is contained in:
parent
5f6025206d
commit
5bcfafc7c7
@ -142,8 +142,9 @@ public final class BufferObject {
|
||||
}
|
||||
|
||||
static synchronized void init(int num) {
|
||||
//createBuffers(num);
|
||||
//counter = num;
|
||||
pool = null;
|
||||
createBuffers(num);
|
||||
counter = num;
|
||||
}
|
||||
|
||||
public int id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user