Fix wrong color space with TF2
smaa_state_save
Fix EGL apps crashing.

For testing if it really works I first need to write an OpenGL 3.x app
using EGL instead of GLX. Didn't found one. The mesa-demos for EGL
use GL ES 2/3. SMAA might even work with that, not sure.