Quote Originally Posted by DarknessX
Well my main loop contains no readln or anything, it just displays the graphics over and over again. It doesn't pause or anything... yet.
So try to manage events at begin of main loop
Code:
//declare
event: TSDL_Event; // sdl event

procedure Manageinput;
begin
  while SDL_PollEvent(@event) > 0 do
       if event.type_ = SDL_QUITEV then
          dosomething;
    end;
end;
and also add
Code:
SDL_Delay(35);
to end of main loop