paysages3d/lib_paysages/tools/memory.c
2013-01-14 13:28:42 +00:00

14 lines
385 B
C

#include "memory.h"
#include <assert.h>
void* memory2dRealloc(void* data, int datasize, int oldxsize, int oldysize, int newxsize, int newysize, int xoffset, int yoffset)
{
/* TODO Move remaining part*/
return realloc(data, datasize * newxsize * newysize);
}
void memory2dScrolling(void* data, int datasize, int xsize, int ysize, int xoffset, int yoffset)
{
/* TODO */
}