Cut VBO/PBO sanity checks from two to one glGetInteger call by exploiting GL enum value aliasing (once again inspired by MatthiasM). Additionally, support PBO calls added in OpenGL 2.1.
Authored by: elias_naur 2007-04-19
Parent: [r2768]
Child: [r2770]