mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
null buffer check
This commit is contained in:
@@ -942,6 +942,8 @@ public abstract class PGL {
|
||||
|
||||
|
||||
protected void restoreFirstFrame() {
|
||||
if (firstFrame == null) return;
|
||||
|
||||
IntBuffer tex = allocateIntBuffer(1);
|
||||
genTextures(1, tex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user