SDL_Surface * textSurface = TTF_RenderText_Solid(font,text.c_str(),textColor); textSurface = SDL_ConvertSurface(textSurface,sample->format,0);. I guess the leak ...
確定! 回上一頁