X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Finit.hpp;h=d596cbc346f880247a98b8b3ceae9e278acdaa9a;hb=482114e156e91729f2529ea6bb1fe98dacdee97f;hp=bf6191b1daf6e1c3e7a8afacb13b3c5d87d0d532;hpb=e1e349bb6035463529bc341c472987d229e1cdca;p=blank.git diff --git a/src/init.hpp b/src/init.hpp index bf6191b..d596cbc 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,10 @@ public: GLContext &operator =(const GLContext &) = delete; static void EnableVSync(); + static void EnableDepthTest(); + static void EnableBackfaceCulling(); + + static void Clear(); private: SDL_GLContext handle;