Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when GLSL 1.50 is unsupported #137

Closed
hagabaka opened this issue Mar 23, 2016 · 0 comments
Closed

Error when GLSL 1.50 is unsupported #137

hagabaka opened this issue Mar 23, 2016 · 0 comments

Comments

@hagabaka
Copy link
Contributor

If GLSL 1.50 is not supported, the engine crashes on start up displaying "ERROR: ShadersOGL.cpp:839 : Error compiling shader(font_shader_vs): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: ..."

I'm getting this problem with Intel i965 and mesa on current Arch Linux.

@Rotonen pointed out that one of the shader programs is causing the problem. Disabling this one fixes the problem for me.

hagabaka added a commit to hagabaka/anura that referenced this issue Mar 23, 2016
Only use the "font_shader_vs_layout" shader program if OpenGL 3.2 is
supported. According to https://en.wikipedia.org/wiki/OpenGL_Shading_Language#Versions
this is required for GLSL 1.5.

Fixes anura-engine#137
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant