LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Vifani83 on December 17, 2004, 10:15:10

Title: glGetAttribLocationARB
Post by: Vifani83 on December 17, 2004, 10:15:10
Someone knows how to use GL20.glGetAttribLocationARB in LWJGL? When I use it, I receive the following error:

java.lang.UnsatisfiedLinkError: nglGetAttribLocation

I have no problem to use ARBShaderObjects.glGetUniformLocationARB, but there is some trouble for attributes.
Title: glGetAttribLocationARB
Post by: spasi on December 19, 2004, 22:25:27
To use the GL20 class your card's driver needs to support OpenGL 2.0, which I'm sure it doesn't. You should use ARBShaderObjects (and ARBVertexShader, ARBFragmentShader) for now.
Title: glGetAttribLocationARB
Post by: Vifani83 on December 20, 2004, 00:46:39
I have solved with ARBVertexShader.

The developing system have a Radeon 9600XT. I think it will support OpenGL 2.0.
Title: glGetAttribLocationARB
Post by: spasi on December 20, 2004, 11:18:50
Yes it will, but neither ATI nor NVIDIA have implemented it yet. I'd expect to see support in a couple of months. Although I'm a little skeptic about ATI, since they are supposed to be rewriting from scratch their OpenGL drivers...