From Bob Kuehne, added osg::getGlVersion() and fixed a minor typo in Texture3D.

This commit is contained in:
Robert Osfield
2006-03-08 16:11:54 +00:00
parent fa5ff9d169
commit 4fc4e60cc3
5 changed files with 19 additions and 5 deletions

View File

@@ -20,6 +20,12 @@
namespace osg {
/** Return floating-point OpenGL version number.
* Note: Must only be called within a valid OpenGL context,
* undefined behavior may occur otherwise.
*/
extern OSG_EXPORT float getGLVersionNumber();
/** Return true if OpenGL "extension" is supported.
* Note: Must only be called within a valid OpenGL context,
* undefined behavior may occur otherwise.