PistonDevelopers / gfx_text

Draw text for gfx using freetype
http://docs.piston.rs/gfx_text/gfx_text/
MIT License
22 stars 12 forks source link

Fixed the styles example to request GL 3.2 context #8

Closed kvark closed 9 years ago

kvark commented 9 years ago

Was getting the following error without this:

thread 'main' panicked at 'called Result::unwrap() on an Err value: ProgramError(Vertex(ShaderCompilationFailed("0:2(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\n")))', /home/rustbuild/src/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libcore/result.rs:729

Kagami commented 9 years ago

Thanks!