[glug-t] SDL, I forgot to mention

Three things I forgot to mention during the meeting:

* Before using SDL_GetKeyState call SDL_PumpEvents
* You will have to link your program to SDL and pthread like this
gcc <file.c> -lSDL -lpthread
* There is an excellent tutorial on SDL. You will find it along with the SDL
documentation in /usr/share/doc/<libsdl>/

- Vijay



Non-free* software sucks. - RMS
* 'free' as in freedom.


---------------------------------------------
This message was sent from RECTMAIL.
http://www.rect.edu/ or http://rangoli.rect.ernet.in/


---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with 
'unsubscribe' as subject.

Website: http://glugt.linuxisle.com

Other related posts: