There's a trivial but annoying bug in Java2DRenderer where it does all the work but never assigns the result to buf so always returns null.
public Buffer grabFrame() { Buffer buf = null; if(lastImage != null) ImageToBuffer.createBuffer(lastImage,(float)0); return buf; }
-Rolf
Cheers mate!! Will include this in the src repo.
Jose San Pedro
Log in to post a comment.
There's a trivial but annoying bug in Java2DRenderer where it does all the work but never assigns the result to buf so always returns null.
public Buffer grabFrame() {
Buffer buf = null;
if(lastImage != null) ImageToBuffer.createBuffer(lastImage,(float)0);
return buf;
}
-Rolf
Cheers mate!! Will include this in the src repo.
Jose San Pedro