Finally ._. and dnever every call SDL_RenderPresent twice it wasted my time .