From e47d5ff9f4035642ff6987f27d65a683b99c66f5 Mon Sep 17 00:00:00 2001 From: Oleksandr Nemesh Date: Wed, 20 Nov 2024 22:56:51 +0200 Subject: [PATCH] add cutoff constructor for CCRenderTexture (#1171) --- loader/include/Geode/cocos/misc_nodes/CCRenderTexture.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/loader/include/Geode/cocos/misc_nodes/CCRenderTexture.h b/loader/include/Geode/cocos/misc_nodes/CCRenderTexture.h index 9003752b..1e9db976 100644 --- a/loader/include/Geode/cocos/misc_nodes/CCRenderTexture.h +++ b/loader/include/Geode/cocos/misc_nodes/CCRenderTexture.h @@ -61,6 +61,8 @@ class CC_DLL CCRenderTexture : public CCNode */ CC_PROPERTY(CCSprite*, m_pSprite, Sprite) public: + GEODE_CUSTOM_CONSTRUCTOR_COCOS(CCRenderTexture, CCNode) + /** * @js ctor */