potocpav / xi_glium

Glium-based front-end to the xi editor
MIT License
84 stars 13 forks source link

support older glsl versions #5

Closed themasch closed 8 years ago

themasch commented 8 years ago

My laptop got an old intel graphics chip which does not support GLSL 1.40. So I tried to change the shaders to support glsl 110 (120 would be supported too, but the shaders should work for both).

I also used the program! macro to use the best implementation for the used facade.

What do you think?

potocpav commented 8 years ago

Thanks for the PR! This probably needed to be done :-)