diff --git a/src/ruis/render/context.hpp b/src/ruis/render/context.hpp index 8b1ac5f0f..2e0974875 100644 --- a/src/ruis/render/context.hpp +++ b/src/ruis/render/context.hpp @@ -164,7 +164,7 @@ class context : public std::enable_shared_from_this // ===================================== // ====== state control functions ====== -private: +protected: /** * @brief Set current frame buffer. * @param fb - frame buffer to set as the current one.