mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-22 02:45:49 -04:00
rob made setContentScaleFactor public
This commit is contained in:
parent
f71fcb24f6
commit
48e84e406f
1 changed files with 1 additions and 1 deletions
2
loader/include/Geode/cocos/CCDirector.h
vendored
2
loader/include/Geode/cocos/CCDirector.h
vendored
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue