Anyone got any ideas where 4k a sec is coming from?

Started by
40 comments, last by Brain 8 years, 10 months ago

OMG FFS I have found it, the problem was:

SDL_RENDERER_PRESENTVSYNC

if((Renderer = SDL_CreateRenderer(Window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC ))== nullptr) {
     return false;
}
If you get near a point, make it!
Advertisement
So how exactly does that cause a memory leak? It's supposed to be a framerate limiter?

This topic is closed to new replies.

Advertisement