20 #ifndef BACKEND_RENDER_HANDLER_AGG_H
21 #define BACKEND_RENDER_HANDLER_AGG_H
33 unsigned char *_testBuffer, *_testBufferTmp;
43 virtual void init_buffer(
unsigned char *mem,
int size,
int x,
int y,
53 _testBufferTmp =
static_cast<unsigned char *
>(realloc(_testBuffer, size));
54 if (_testBufferTmp == NULL) {
55 log_error(
_(
"Memory reallocation error"));
58 _testBuffer = _testBufferTmp;
61 memset(_testBuffer, 0, size);
62 printf(
"Renderer Test memory at: %p\n", _testBuffer);
92 #endif // BACKEND_RENDER_HANDLER_AGG_H