How I can fix this memory leak I have with SDL and SDL_RenderCopy?

前端 未结 0 548
别那么骄傲
别那么骄傲 2020-11-29 07:05

Basically I\'m drawing a grid with 250k tiles.

If I draw in a loop this grid the memory stays at 120mb but if I translate the coordinates of each tile with an offset,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题