Currently, the OpenGL wrapper implementation does not protect the programmer from accessing functions and enum properties that should not be available in the current OpenGL Profile.
It is arduous to crosscheck the documentation to confirm that a method is available in a certain version or that a certain method accepts a given constant.
To Resolve this, the OpenGL wrapper should provide some mechanism to make it clear what version the function is available under. This should be done either via documentation or preferably though code, providing compiler safety.
Currently, the OpenGL wrapper implementation does not protect the programmer from accessing functions and enum properties that should not be available in the current OpenGL Profile.
It is arduous to crosscheck the documentation to confirm that a method is available in a certain version or that a certain method accepts a given constant.
To Resolve this, the OpenGL wrapper should provide some mechanism to make it clear what version the function is available under. This should be done either via documentation or preferably though code, providing compiler safety.