From 48e84e406f4e698aef23f95d374471894896337c Mon Sep 17 00:00:00 2001 From: ConfiG <cgytrus@cgyt.ru> Date: Mon, 12 Jun 2023 18:31:34 +0300 Subject: [PATCH] rob made setContentScaleFactor public --- loader/include/Geode/cocos/CCDirector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/include/Geode/cocos/CCDirector.h b/loader/include/Geode/cocos/CCDirector.h index fb9c1d9b..e400bcad 100644 --- a/loader/include/Geode/cocos/CCDirector.h +++ b/loader/include/Geode/cocos/CCDirector.h @@ -348,13 +348,13 @@ public: protected: virtual void mainLoop(void) {} +public: /** The size in pixels of the surface. It could be different than the screen size. High-res devices might have a higher surface size than the screen size. Only available when compiled using SDK >= 4.0. @since v0.99.4 */ void setContentScaleFactor(float scaleFactor); -public: inline float getContentScaleFactor(void) { return m_fContentScaleFactor; } RT_ADD(