Khronos public bugtracker – Bug 449
TexImage3d marked as deprecated
Last modified: 2013-06-18 16:10:31 PDT
gl.spec marks TexImage3d as deprecated in OpenGL 3.1 . However, this method is still available in OpenGL 4.1 core profile, as evidenced by the reference card. 
This affects the C# bindings found at http://www.opentk.com, which respect deprecation warnings.
I've just run into this too with the Qt OpenGL code generator. I'll special case it there but it would be nice if this simple mistake could be fixed in gl.spec.
As mentioned on the discussion boards, the old .spec files are themselves
deprecated in favor of the new XML API Registry, which uses a more explicit
means for describing profiles and removal of functionality; I don't think
the problem you describe exists there although there isn't exactly a 1:1
mapping between .spec and XML. We aren't planning to update .spec files
going forward, so I encourage you to migrate to the XML registry. I did
patch this one issue in the public SVN version of gl.spec, since it was