Fix crash caused when downloading requests for icons were still
executing at game end.
Exit quicker if a request is being executed when stk is quit.
replace unecessary NULL-checks
improve readability
make gp editor use default number of laps
xrandr: few more checks

- try to run in windowed mode if no output was found
 - close display correctly in case of no output
 - add few warnings
Merge pull request #1463 from konstin/gp_editor_laps

small improvements to the gp editor
Unlit material supports tex matrix
Add actual light under thunderbird
Split animated meshes list from the others
Add sampler object support
Fix build
Factorize gl headers include in a separate file.

It should avoid conflict with Xorg headers
Fix build
Factorize gl headers include in a separate file.

It should avoid conflict with Xorg headers
Fix travis ci
Remove wrappers.
Use template to declare shader texture usage.
Add a "createVector" function for OSX
Use createVector in some others places