I changed MAXSIZE to 1024, the temp function to devidex by 10000*16 inszted of 10000*15 and text->loadFromMemory(MiniMap::pGS()->getMiniMap(),32,32); and imageSet->defineImage("MiniMap", CEGUI::Point(0.0,0.0), CEGUI::Size(32,32), CEGUI::Point(0.0,0.0)); but it still displays black, I also ...
im trying to load a texture from memory with the code: from minimap class #define MAXSIZE 900 int *m_pMapBuffer[MAXSIZE]; MiniMap::MiniMap(void) { for (int i = 0; i < MAXSIZE; i++) { m_pMapBuffer[i] = (int*)RGB(120,120,120); } } MiniMap* MiniMap::p...