Login  Register

Re: pbuffer / FBO : lost and white screen

Posted by Sven Gothel on Sep 24, 2012; 7:55am
URL: https://forum.jogamp.org/pbuffer-FBO-lost-and-white-screen-tp4026246p4026256.html

On 09/24/2012 09:18 AM, ElJojo [via jogamp] wrote:

> I tried to replace the pbuffer part in my constructor with :
>         final GLCapabilities reqGLCaps=getCaps(GLProfile.GL2);
>         reqGLCaps.setOnscreen(false);
>         reqGLCaps.setFBO(true);
>         final GLOffscreenAutoDrawable gl =
> factory.createOffscreenAutoDrawable(null, reqGLCaps, null, project.getWidth(),
> project.getHeight(), null);
>
> But getCaps and GLOffscreenAutoDrawable don't exist : import
> javax.media.opengl.GLOffscreenAutoDrawable don't exist.
> I'm using Jogl2 (files dated at 07/26/12), JRE 7u7.
try use latest aggregated build in archive/master,
or better use latest source tip if possible.

~Sven



signature.asc (907 bytes) Download Attachment