graphics frame rate fixed

This commit is contained in:
Ilusha 2024-03-19 16:39:18 +03:00 committed by Ilya Shurupov
parent 16af8dc809
commit fb374e71e4
7 changed files with 203 additions and 121 deletions

View file

@ -29,8 +29,12 @@ namespace tp {
[[nodiscard]] bool shouldClose() const;
[[nodiscard]] const Vec2F& getSize() const;
void checkAxisUpdates();
private:
Vec2F mSize;
Vec2F mPointerPos;
Context* mContext;
EventHandler* mEventHandler = nullptr;
};