LWJGL Forum

Programming => OpenGL => Topic started by: raft on November 27, 2009, 04:47:22

Title: EXTFramebufferObject.glBindFramebufferEXT: Function is not supported
Post by: raft on November 27, 2009, 04:47:22
hi,

i'm having difficulty running someone else's sample project (http://pureswing.advel.cz/). below is the stack trace, any ideas why this happens ? this is a ubuntu 8.04 on a toshiba sattelite laptop with an onboard intel chipset. i got the same exception at Win XP on a similar toshiba laptop.

Exception in thread "main" java.lang.IllegalStateException: Function is not supported
at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:64)
at org.lwjgl.opengl.EXTFramebufferObject.glBindFramebufferEXT(EXTFramebufferObject.java:170)
at cz.advel.modern3d.opengl.LWJGLContext.flush(LWJGLContext.java:175)
at cz.advel.modern3d.opengl.LWJGLContext.<init>(LWJGLContext.java:93)
..// not relevant


Title: Re: EXTFramebufferObject.glBindFramebufferEXT: Function is not supported
Post by: Matzon on November 27, 2009, 06:34:53
You graphics card does not support the FBO extensions.
Try updating the drivers.
Title: Re: EXTFramebufferObject.glBindFramebufferEXT: Function is not supported
Post by: spasi on November 27, 2009, 10:43:46
Such an exception shouldn't be thrown at runtime if the developer took measures to prevent it. The first option is to check whether or not EXT_framebuffer_object is exposed, if not the program should end gracefully with the appropriate message. The other option is to provide a different execution path for older cards with no FBO support (either using pbuffers or copying out of the framebuffer).
Title: Re: EXTFramebufferObject.glBindFramebufferEXT: Function is not supported
Post by: raft on November 27, 2009, 14:24:56
i see. thanks