mirror of
https://github.com/edubart/otclient.git
synced 2025-10-24 00:05:02 +02:00
new script engine, and things maybe be bugged for a while
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <global.h>
|
||||
|
||||
class Texture : public boost::enable_shared_from_this<Texture>
|
||||
class Texture : public std::enable_shared_from_this<Texture>
|
||||
{
|
||||
public:
|
||||
/// Create a texture, width and height must be a multiple of 2
|
||||
@@ -55,7 +55,7 @@ protected:
|
||||
Size m_glSize;
|
||||
};
|
||||
|
||||
typedef boost::shared_ptr<Texture> TexturePtr;
|
||||
typedef boost::weak_ptr<Texture> TextureWeakPtr;
|
||||
typedef std::shared_ptr<Texture> TexturePtr;
|
||||
typedef std::weak_ptr<Texture> TextureWeakPtr;
|
||||
|
||||
#endif // TEXTURE_H
|
||||
|
Reference in New Issue
Block a user