Make MapContext use StillImageCallback definition from Map

This commit is contained in:
Bruno de Oliveira Abinader
2015-08-02 22:34:29 +03:00
parent 92d78eae38
commit 0eb7effad7
2 changed files with 4 additions and 5 deletions

View File

@@ -280,7 +280,7 @@ void MapContext::update() {
updated = static_cast<UpdateType>(Update::Nothing);
}
void MapContext::renderStill(const TransformState& state, const FrameData& frame, StillImageCallback fn) {
void MapContext::renderStill(const TransformState& state, const FrameData& frame, Map::StillImageCallback fn) {
if (!fn) {
Log::Error(Event::General, "StillImageCallback not set");
return;