fix syntax error 34/74434/1 accepted/tizen/common/20160615.193218 accepted/tizen/ivi/20160616.001420 accepted/tizen/mobile/20160616.001351 accepted/tizen/tv/20160616.001411 accepted/tizen/wearable/20160616.001357 submit/tizen/20160614.090320 submit/tizen/20160615.002933
authorBoram Park <boram1288.park@samsung.com>
Tue, 14 Jun 2016 03:43:29 +0000 (12:43 +0900)
committerBoram Park <boram1288.park@samsung.com>
Tue, 14 Jun 2016 03:43:29 +0000 (12:43 +0900)
Change-Id: I00cb5908d5786e9013301c6e1f01eee47d26605d

src/tdm_helper.c

index 354e2e8..1363979 100644 (file)
@@ -178,7 +178,7 @@ tdm_helper_dump_buffer(tbm_surface_h buffer, const char *file)
        TDM_RETURN_IF_FAIL(buffer != NULL);
        TDM_RETURN_IF_FAIL(file != NULL);
 
-       ret = tbm_surface_map(buffer, TBM_DEVICE_CPU, &info);
+       ret = tbm_surface_map(buffer, TBM_OPTION_READ, &info);
        TDM_RETURN_IF_FAIL(ret == TBM_SURFACE_ERROR_NONE);
 
        len = strnlen(file, 1024);