From 095be9811eaccd92cee156b4c486fb92b77cdcd2 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 4 Apr 2011 00:01:39 +0200 Subject: Threaded VBO creation. A secondary memory-mapped VBO is filled in a separate thread, which replaces the main VBO when work is done. --- scene.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene.cpp') diff --git a/scene.cpp b/scene.cpp index 4b96595..5bbd1b2 100644 --- a/scene.cpp +++ b/scene.cpp @@ -92,4 +92,5 @@ bool Scene::select(int x, int y, float& px, float& py, float& pz) { void Scene::update() { qt->update(pos.x, pos.z); + qt->update_vbo(); } -- cgit v1.2.3