On 26. Jul 2010, at 23:17, jingquan [via Software] wrote:
> Hi, I can't seem to create an FBO or any glew extenstion it seems > within equalizer, if you will offer me some opinions. I assume you are using Windows? > The program stopped on the bindframebuffer line: > > glGenFramebuffers(1, &fbo); > glBindFramebuffer(GL_FRAMEBUFFER, fbo); > > For example, this line works: glBindBuffer(GL_ARRAY_BUFFER, > VertexVBOID); > however not this: glBindBufferARB(GL_ARRAY_BUFFER_ARB, VertexVBOID); How is it not working? Do you have a backtrace? Glew redefines all non-GL-1.1 calls to a lookup in a structure. This structure is obtained using glewGetContext(), which has to be available in the context you are using the GL functions. They then become glewGetContext()->__glewBindFrameBuffer(...). You can check for the availability of functionality using if( GLEW_ARB_framebuffer_object ) or if( GLEW_VERSION_2_0 ). From what you describe, the ARB extension is not available on your driver, or you missed something else. HTH, Stefan. -- View this message in context: http://software.1713.n2.nabble.com/Using-GLEW-tp5339849p5341040.html Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
_______________________________________________ eq-dev mailing list [email protected] http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev http://www.equalizergraphics.com

