Hello Carsten,

thanks for the information below.
At the moment I don't understand why the Window::getFunction() stuff is needed 
for example to access the OpenGL frame buffer object extension. Wouldn't it be 
easier to use something like GLEW to manage OpenGL extensions? Do I miss 
something?

Thanks,
Michael

-------- Original-Nachricht --------
> Datum: Fri, 02 Dec 2011 09:10:04 -0600
> Von: Carsten Neumann <carsten_neum...@gmx.net>
> An: opensg-users@lists.sourceforge.net
> Betreff: Re: [Opensg-users] FBO Window

>       Hello Michael,
> 
> On 12/02/2011 07:44 AM, Michael Raab wrote:
> > do you know if and how I can get the currently bound frame buffer object
> id from OpenGL?
> 
> GLint drawFBO = 0;
> GLint readFBO = 0;
> 
> glGetIntegerv(GL_DRAW_FRAMEBFUFER_BINDING, &drawFBO) and 
> glGetIntegerv(GL_READ_FRAMEBFUFER_BINDING, &readFBO)
> 
> see http://www.opengl.org/sdk/docs/man3/xhtml/glGet.xml for details. 
> This is for OpenGL core 3.3, but it should be similar for the various 
> FBO extensions.
> 
>       Cheers,
>               Carsten
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to