Advertisement

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

Started by March 31, 2015 06:12 PM
40 comments, last by Brain 9 years, 8 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!
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