Add lwjgl code from one of my other projects

Cause why recode it?