diff --git a/include/osg/ContextData b/include/osg/ContextData index c52d32e9d..fec208a7d 100644 --- a/include/osg/ContextData +++ b/include/osg/ContextData @@ -143,10 +143,10 @@ class OSG_EXPORT ContextData : public GraphicsObjectManager /** Get the ContextData for a specific contextID.*/ -extern ContextData* getContextData(unsigned int contextID); +extern OSG_EXPORT ContextData* getContextData(unsigned int contextID); /** Get or create the ContextData for a specific contextID.*/ -extern ContextData* getOrCreateContextData(unsigned int contextID); +extern OSG_EXPORT ContextData* getOrCreateContextData(unsigned int contextID); template inline T* get(unsigned int contextID)