Hey! Thanks for your answer. I'm still stumbling along...
So this
- PGraphicsOpenGL pgl = (PGraphicsOpenGL) g;
-
GL gl = pgl.beginGL();
- PGraphicsOpenGL pgl = (PGraphicsOpenGL) g;
- PGL gl = pgl.beginPGL();
But then I get errors like "glColor4f(...) does not exist. Bummer :(
(just for reference, i am using the simple example from the wiki).