Reply To: OpenGL error 1286

Home Forums Syphon Syphon Implementations – User OpenGL error 1286 Reply To: OpenGL error 1286

#6017
__vac__
Participant

sure:

so this is my console output (i use eclipse)

2012-05-13 20:55:59.625 java[45795:407] invalid drawable
Syphon 0.4 by Andres Colubri http://interfaze.info/
Loading JSyphon
Java Library Path: /Users/vacpics/Documents/dev./processing sketch/eclipseWorkspace_/processingSketches/bin
JSyphon Loaded
New JSyphon Instance
OpenGL error 1286 at top beginDraw(): invalid framebuffer operation
OpenGL error 1286 at bot beginDraw(): invalid framebuffer operation
OpenGL error 1286 at bot endDraw(): invalid frame buffer operation

I use custom code, and use a PGraphics instance as well as a SyphonServer instance.

PGraphics canvas = createGraphics(width, height, P3D);
SyohonServer syphonServer = new SyphonServer(this, “Lissajous”);

then in the draw():
canvas.beginDraw();

//…
canvas.endDraw();
syphonServer.sendImage(canvas);
image(canvas, 0, 0);

thanks a lot for your help!

__vac__