X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Finit.hpp;h=51ab3f834b03054a2783b6838261fd0329d98fe4;hb=32a385382b73072438c99b533686a4bb9ba4742c;hp=bf6191b1daf6e1c3e7a8afacb13b3c5d87d0d532;hpb=e1e349bb6035463529bc341c472987d229e1cdca;p=blank.git diff --git a/src/init.hpp b/src/init.hpp index bf6191b..51ab3f8 100644 --- a/src/init.hpp +++ b/src/init.hpp @@ -54,6 +54,12 @@ public: Window(const Window &) = delete; Window &operator =(const Window &) = delete; + void GrabInput(); + void ReleaseInput(); + + void GrabMouse(); + void ReleaseMouse(); + GLContext CreateContext(); void Flip(); @@ -77,6 +83,7 @@ public: GLContext &operator =(const GLContext &) = delete; static void EnableVSync(); + static void EnableBackfaceCulling(); private: SDL_GLContext handle;