Hey all,
I recently asked a question trying to figure out how to get fullscreen using proclipsing in eclipse. The solution I got totally works, except when I try to use the PApplet.OPENGL as a renderer.
using this :
- size(400,400, PApplet.OPENGL);
- frame.setResizable(true);
- size(screenWidth, screenHeight, PApplet.OPENGL);
- frame.setResizable(false);
- background(255, 0,0);
gives me this :
Thread [Animation Thread] (Suspended (exception GLException))
MacOSXOnscreenGLContext(GLContextImpl).destroy() line: 176 [local variables unavailable]
PGraphicsOpenGL.allocate() line: 294
PGraphicsOpenGL(PGraphics3D).setSize(int, int) line: 326
HarleyTwitterFeed(PApplet).resizeRenderer(int, int) line: 1060
HarleyTwitterFeed(PApplet).size(int, int, String, String) line: 1140
HarleyTwitterFeed(PApplet).size(int, int, String) line: 1106
HarleyTwitterFeed.setup() line: 11
HarleyTwitterFeed(PApplet).handleDraw() line: 1608
HarleyTwitterFeed(PApplet).run() line: 1530
Thread.run() line: 680 [local variables unavailable]
Using it in one of the 2 just gives me a blank screen that doesnt render anything. Any one know of a way around this?
1