WILL, get rid of these lines, you don't need them when using the SDL_OPENGL flag, and they might be screwing up the smoothness of your scrolling.
Code:flags := flags or SDL_DOUBLEBUF; //Enable double buffering flags := flags or SDL_HWPALETTE; //Store the palette in hardware // This checks to see if surfaces can be stored in memory if ( videoInfo.hw_available <> 0 ) then flags := flags or SDL_HWSURFACE else flags := flags or SDL_SWSURFACE; // This checks if hardware blits can be done if ( videoInfo.blit_hw <> 0 ) then flags := flags or SDL_HWACCEL;
Bookmarks