fixed snapshot TC failed (Tizen 2.3.2) 62/75562/1 accepted/tizen/common/20160622.145854 accepted/tizen/ivi/20160622.093810 accepted/tizen/mobile/20160622.093706 accepted/tizen/tv/20160622.093724 accepted/tizen/wearable/20160622.093741 submit/tizen/20160622.003940 submit/tizen/20160622.020251 submit/tizen/20160622.030901
authorchanywa <cbible.kim@samsung.com>
Mon, 20 Jun 2016 11:31:41 +0000 (20:31 +0900)
committerchanywa <cbible.kim@samsung.com>
Mon, 20 Jun 2016 11:31:41 +0000 (20:31 +0900)
Change-Id: I8e9115fa778c39c7f496ad84b76dd96312bb62ca

src/here_view.cpp

index 5dcf6fadc2d5bb2099f7d81d6646b79ed6a38ea3..acf284bd46fc8c3c473a596f5f66fdac00e6407f 100755 (executable)
@@ -547,7 +547,7 @@ here_error_e HereView::captureSnapshot(maps_view_h view, void **data, int *width
                return HERE_ERROR_OUT_OF_MEMORY;
        }
 
-       __map->PaintMap(__w, __h);
+       __pixelGetCb(view, NULL);
        __api->glReadPixels(0, 0, __w, __h, GL_RGBA, GL_UNSIGNED_BYTE, readData);
        for(int i = 0; i < __h; i++)
                memcpy((unsigned char*)*data + sizeOfLine * i, readData + sizeOfLine * (__h - i - 1), sizeOfLine);