From d864699c5ddd744ee7376c0d752b6bbb771429a2 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 8 Nov 2019 23:02:47 +0100 Subject: Update lattice multiple times per frame Controlled by `--lupf` _Lattice updates per frame_ MLUPS are now calculated and displayed. While performance is still bad compared to a optimized GPU implementation (such as [1] or [2]) this improves the situation. [1]: https://tree.kummerlaender.eu/projects/symlbm_playground/ [2]: https://code.kummerlaender.eu/boltzgen/about/ --- src/glfw/window.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/glfw') diff --git a/src/glfw/window.cc b/src/glfw/window.cc index 77be947..c0074ad 100644 --- a/src/glfw/window.cc +++ b/src/glfw/window.cc @@ -14,7 +14,6 @@ Window::Window(const std::string& title): _handle(glfwCreateWindow(_width, _height, title.c_str(), NULL, NULL)) { if ( _handle != nullptr ) { glfwMakeContextCurrent(_handle); - glfwSwapInterval(0); if ( glewInit() == GLEW_OK ) { _good = true; } -- cgit v1.2.3