From af23cf81d3c31f576bda2991403e662602be9e3a Mon Sep 17 00:00:00 2001 From: Cvolton Date: Sat, 9 Nov 2024 16:55:39 +0100 Subject: [PATCH] fix cceglview --- loader/include/Geode/cocos/platform/win32/CCEGLView.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/loader/include/Geode/cocos/platform/win32/CCEGLView.h b/loader/include/Geode/cocos/platform/win32/CCEGLView.h index ed2820aa..a3628e77 100644 --- a/loader/include/Geode/cocos/platform/win32/CCEGLView.h +++ b/loader/include/Geode/cocos/platform/win32/CCEGLView.h @@ -142,7 +142,7 @@ public: /** * @note RobTop addition */ - void toggleFullScreen(bool fullscreen, bool borderless); + void toggleFullScreen(bool fullscreen, bool borderless, bool fix); /** * @note RobTop addition @@ -185,6 +185,8 @@ public: protected: static CCEGLView* s_pEglView; + // @note unknown members here + uint8_t m_unkPad[8]; bool m_bCaptured; // Robtop Removal // HWND m_hWnd; @@ -203,6 +205,8 @@ protected: int m_nRetinaFactor; // @note RobTop Addition bool m_bCursorHidden; + // @note may be before m_bCursorHidden + int m_unkSize4; // Robtop Removal // LPCWSTR m_menu; // Robtop Removal @@ -225,6 +229,8 @@ public: // @note RobTop Addition bool m_bIsBorderless; // @note RobTop Addition + bool m_bIsFix; + // @note RobTop Addition bool m_bShouldHideCursor; // @note RobTop Addition bool m_bCursorLocked;