[SDL] nooby question:how to get mappy to scroll

Josh Matthews mrlachatte at gmail.com
Wed Jun 8 21:39:46 PDT 2005


You're using SDL_Flip but you're not using doublebuffered mode. 
Either change the SDL_SetVideoMode call to SDL_SetVideoMode(640,480,
24, SDL_SWSURFACE | SDL_DOUBLEBUF) or change the SDL_Flip call to
SDL_UpdateRect(screen,0,0,0,0).

On 6/9/05, Gabriel <mystml at adinet.com.uy> wrote:
>         Okay, I have been working on this piece of code for the past day
>         or so, and it STILL WON'T SCROLL!!!!!!!!!!!!!!!!!!!!!!!!!!!!11
> 
> What is a SDLMappy? Given how simple is the code, I'd take a look at
> what is that thing doing.
> 
> 
>         I am r3 at lly annoyed.
> 
> Maybe it doesn't work cuz your not l337 nuff, d00d. SDL requires teh m4d
> 5killz0rz!
> 
>     --Gabriel
> 
> 
> 
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>




More information about the SDL mailing list