diff --git a/include/osgGL2/ProgramObject b/include/osgGL2/ProgramObject index 52b1b6963..0708bdf98 100644 --- a/include/osgGL2/ProgramObject +++ b/include/osgGL2/ProgramObject @@ -38,11 +38,11 @@ namespace osgGL2 { * GL2 Objects to cached until they can be deleted * by the OpenGL context in which they were created, specified * by contextID.*/ -void DeleteObject(unsigned int contextID, GLhandleARB handle); +extern OSGGL2_EXPORT void DeleteObject(unsigned int contextID, GLhandleARB handle); /** flush all the cached glProgramObjects which need to be deleted * in the OpenGL context related to contextID.*/ -void FlushDeletedGL2Objects(unsigned int contextID); +extern OSGGL2_EXPORT void FlushDeletedGL2Objects(unsigned int contextID); ///////////////////////////////////////////////////////////////////////////