From 1f06f518b2ad089abd27f9e2c2fa28486fd6e4de Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Tue, 15 Jul 2014 18:48:01 -0700 Subject: allow for delayed map notifications during animations --- common/glfw_view.cpp | 4 +++- common/headless_view.cpp | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/glfw_view.cpp b/common/glfw_view.cpp index d4f8969143..0d26928e08 100644 --- a/common/glfw_view.cpp +++ b/common/glfw_view.cpp @@ -1,5 +1,7 @@ #include "glfw_view.hpp" +#include + GLFWView::GLFWView(bool fullscreen) : fullscreen(fullscreen) { #ifdef NVIDIA glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)glfwGetProcAddress("glDiscardFramebufferEXT"); @@ -281,7 +283,7 @@ void show_color_debug_image(std::string name, const char *data, size_t logical_w } #endif -void notify_map_change(MapChange change) { +void notify_map_change(MapChange change, timestamp delay) { // no-op } diff --git a/common/headless_view.cpp b/common/headless_view.cpp index a44c6e6edb..2ca804664e 100644 --- a/common/headless_view.cpp +++ b/common/headless_view.cpp @@ -1,4 +1,5 @@ #include "headless_view.hpp" +#include #include #include @@ -6,7 +7,7 @@ namespace llmr { namespace platform { -void notify_map_change(MapChange change) { +void notify_map_change(MapChange change, timestamp delay) { // no-op } -- cgit v1.2.1