ini: first implementation
[platform/core/uifw/libtdm.git] / tools / buffers.c
index 907e6f8..8b04b41 100644 (file)
@@ -37,8 +37,6 @@
 #include <tbm_bufmgr.h>
 #include <tbm_surface.h>
 
-#include <tdm_log.h>
-#include "tdm_macro.h"
 #include "buffers.h"
 
 #define ALPHA_VALUE  100
@@ -944,7 +942,7 @@ tdm_test_buffer_fill(tbm_surface_h buffer, int pattern)
                rand_seed = time(NULL);
 
        ret = tbm_surface_map(buffer, TBM_OPTION_WRITE, &info);
-       TDM_EXIT_IF_FAIL(ret == 0);
+       assert(ret == 0);
 
        plane[0] = info.planes[0].ptr;
        plane[1] = info.planes[1].ptr;