null buffer check

This commit is contained in:
codeanticode
2016-05-04 21:53:09 -04:00
parent 38dc5d31f0
commit f870930ed6

View File

@@ -942,6 +942,8 @@ public abstract class PGL {
protected void restoreFirstFrame() {
if (firstFrame == null) return;
IntBuffer tex = allocateIntBuffer(1);
genTextures(1, tex);