Hi, I've some opengl drawing codes that works fine in osg 1.2 libaries. But when I port the codes to osg 2.2 libraries, it gives the following error messages in the BlendFunc class. Any advise is greatly appreciated.
1>..\..\include\osg/BlendFunc(160) : error C2143: syntax error : missing ')' before '*' 1>..\..\include\osg/BlendFunc(160) : error C2143: syntax error : missing ';' before '*' 1>..\..\include\osg/BlendFunc(160) : error C2059: syntax error : ')' 1>..\..\include\osg/BlendFunc(163) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>..\..\include\osg/BlendFunc(163) : warning C4183: 'GLBlendFuncSeparateProc': missing return type; assumed to be a member function returning 'int' 1>..\..\include\osg/BlendFunc(165) : error C2146: syntax error : missing ';' before identifier '_glBlendFuncSeparate' 1>..\..\include\osg/BlendFunc(165) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>..\..\include\osg/BlendFunc(165) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int regards _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

