Converted code dependant on osg::Texture across to its replacement osg::Texture2D.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#define OSG_TEXTURE 1
|
||||
|
||||
#include <osg/TextureBase>
|
||||
|
||||
namespace osg {
|
||||
|
||||
/** Texture state class which encapsulates OpenGl texture functionality.*/
|
||||
@@ -202,6 +203,7 @@ class SG_EXPORT Texture : public TextureBase
|
||||
|
||||
#else // USE_DEPRECATED_API
|
||||
|
||||
#ifdef USE_DEPRECATED_API
|
||||
#include <osg/Texture2D>
|
||||
|
||||
namespace osg {
|
||||
@@ -210,4 +212,6 @@ namespace osg {
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif // USE_DEPRECATED_API
|
||||
|
||||
Reference in New Issue
Block a user