#include <tbm_bufmgr.h>
#include <tbm_surface.h>
-#include "tdm_log.h"
-#include "tdm_macro.h"
#include "buffers.h"
#define ALPHA_VALUE 100
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;