diff --git a/include/window/Window.hpp b/include/window/Window.hpp index 3c9e7fbc..9dc5b537 100644 --- a/include/window/Window.hpp +++ b/include/window/Window.hpp @@ -73,7 +73,6 @@ struct Window { void setSize(math::Vec size); PRIVATE void run(); PRIVATE void step(); - void activateContext(); /** Takes a screenshot of the screen and saves it to a PNG file. */ PRIVATE void screenshot(const std::string& screenshotPath); /** Saves a PNG image of all modules to `screenshotsDir//.png`. diff --git a/src/window/Window.cpp b/src/window/Window.cpp index 7d277835..313fe722 100644 --- a/src/window/Window.cpp +++ b/src/window/Window.cpp @@ -530,11 +530,6 @@ void Window::step() { } -void Window::activateContext() { - glfwMakeContextCurrent(win); -} - - static void flipBitmap(uint8_t* pixels, int width, int height, int depth) { for (int y = 0; y < height / 2; y++) { int flipY = height - y - 1;