Initial revision
This commit is contained in:
15
include/osg/ExtensionSupported
Normal file
15
include/osg/ExtensionSupported
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef OSG_EXTENSIONSUPPORTED
|
||||
#define OSG_EXTENSIONSUPPORTED 1
|
||||
|
||||
#include <osg/Export>
|
||||
|
||||
namespace osg {
|
||||
|
||||
/** return true if OpenGL "extension" is supported.
|
||||
note: Must only called within a valid OpenGL context,
|
||||
undefined behaviour may occur otherwise.*/
|
||||
SG_EXPORT extern bool ExtensionSupported(const char *extension);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user