Hi there.
I wrote an application some time ago involving my own shaders. I used the method:
GL20.glGetActiveAttribType(progID, attrID)
to get the type of an attribute.
When testing this application on my desktop computer everything worked fine. When testing on a small asus eee netbook it didnt work however.
After much testing and lots of debug messages I finally found the cause:
GL20.glGetActiveAttrib(progID, attrID, bufLength, bufSize, bufType, bufName);
int actualType = bufType.get(0);
int fakeType = GL20.glGetActiveAttribType(progID, attrID);
System.out.println(fakeType+" != "+actualType+" == "+(fakeType != actualType)); // true
As you can see the methods return different values for the type of an attribute.
Since the function:
glGetActiveAttribType
is not defined on the OpenGL reference pages I would guess that it was added by the lwjgl team. As it seems, it does not quite return the correct value on all hardware.
Best regards.