Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : frameRate() can crash 2.0b7

$
0
0
I'm seeing a larger problem with regard to the crash reported here.  If you have a similar sketch and do a resize, it crashes as well.  They seem to be fixed by resetting the gl in the draw.
  1.   gl =  pgl.beginPGL().gl.getGL2();
However, this doesn't always work.  I have shaders where I use the gl as such:
  1. gl.glUseProgramObjectARB(programObject);

It will crash on this regardless if I reset the gl or not.

Viewing all articles
Browse latest Browse all 1768

Trending Articles