16 lines
339 B
Plaintext
16 lines
339 B
Plaintext
#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
|