]> git.localhorst.tv Git - blank.git/blobdiff - src/graphics/viewport.cpp
move common exceptions to app/error
[blank.git] / src / graphics / viewport.cpp
index 30b1c3c9d04c422dc8753a696790a4a00578819c..a475f3e796f1d4c8d2b2af82987db711d368beb5 100644 (file)
@@ -3,7 +3,7 @@
 #include "SkyBox.hpp"
 #include "Viewport.hpp"
 
-#include "../app/init.hpp"
+#include "../app/error.hpp"
 #include "../geometry/const.hpp"
 
 #include <GL/glew.h>
@@ -103,7 +103,7 @@ Viewport::Viewport()
        glClearColor(0.0, 0.0, 0.0, 1.0);
 }
 
-void Viewport::VSync(bool b) noexcept {
+void Viewport::VSync(bool b) {
        if (SDL_GL_SetSwapInterval(b) != 0) {
                throw SDLError("SDL_GL_SetSwapInterval");
        }