EXTFramebufferObject.glBindFramebufferEXT: Function is not supported

Started by raft, November 27, 2009, 04:47:22

Previous topic - Next topic

raft

hi,

i'm having difficulty running someone else's sample project. 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



Matzon

You graphics card does not support the FBO extensions.
Try updating the drivers.

spasi

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).