Login  Register

Re: Clearing NewtCanvasAWT

Posted by ac on Nov 27, 2012; 7:59pm
URL: https://forum.jogamp.org/Clearing-NewtCanvasAWT-tp4026943p4027257.html

It seems that it is platform specific: right after the frame.add(canvasNEWT, BorderLayout.CENTER) call, the output window appears black on Windows, until the first frame is finished and the buffers are swapped. But on OSX, the window will show some garbage left in the framebuffer, which is cleared only at the end of the first frame.