Quellcode durchsuchen

Fix breaking changes

unknown vor 6 Jahren
Ursprung
Commit
16c2437d70

+ 1 - 1
spine-cocos2dx/src/spine/SkeletonRenderer.h

@@ -48,7 +48,7 @@ namespace spine {
 
 		void update (float deltaTime) override;
 		void draw (cocos2d::Renderer* renderer, const cocos2d::Mat4& transform, uint32_t transformFlags) override;
-		bool isAutoCulled () const override;
+		bool isAutoCulled () const;
 		cocos2d::Rect getBoundingBox () const override;
 		void onEnter () override;
 		void onExit () override;

+ 2 - 2
spine-cpp/spine-cpp/include/spine/Atlas.h

@@ -99,9 +99,9 @@ class TextureLoader;
 
 class SP_API Atlas : public SpineObject {
 public:
-	Atlas(const String &path, TextureLoader *textureLoader, bool createTexture);
+	Atlas(const String &path, TextureLoader *textureLoader, bool createTexture = true);
 
-	Atlas(const char *data, int length, const char *dir, TextureLoader *textureLoader, bool createTexture);
+	Atlas(const char *data, int length, const char *dir, TextureLoader *textureLoader, bool createTexture = true);
 
 	~Atlas();