java.lang.IllegalStateException: Function is not supported

Started by FuZi042, July 25, 2013, 11:02:42

Previous topic - Next topic

FuZi042

stack trace:
Exception in thread "main" java.lang.IllegalStateException: Function is not supported
   at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
   at org.lwjgl.opengl.GL15.glGenBuffers(GL15.java:116)
   at com.FuZi042.TheQuadExampleDrawElements.setupQuad(TheQuadExampleDrawElements.java:108)
   at com.FuZi042.TheQuadExampleDrawElements.<init>(TheQuadExampleDrawElements.java:38)
   at com.FuZi042.TheQuadExampleDrawElements.main(TheQuadExampleDrawElements.java:22)
Java Result: 1

OS:
Debian/Linux 32bit
java version "1.7.0_03"
OpenJDK Runtime Environment (IcedTea7 2.1.6) (7u3-2.1.6-1)
OpenJDK Client VM (build 22.0-b10, mixed mode, sharing)


the code in class TheQuadExampleDrawElements was coppied from the LWJGL wiki under much the same title on the main page.

i am new to this Forum so please make it

princec