naelstrof / slop

slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout.
Other
853 stars 58 forks source link

error: GLSL 1.30 is not supported #70

Closed Brottweiler closed 7 years ago

Brottweiler commented 7 years ago

Somewhere after version 4.3.21, slop gives the following error when executed on my Intel powered laptop, compared to my Nvidia powered desktop which does not have this issue. Slop worked fine in 4.3.21, but then the archlinux package updated to 5.3.37, and now slop fails with the following message.

Slop encountered an error:
Failed to compile shader `#version 130
attribute vec2 position;
attribute vec2 uv;
varying vec2 uvCoord;
void main()
{
uvCoord = uv;
gl_Position = vec4(position,0,1);
}
`:
0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

Is the fix to simply disable OpenGL with the -o option, since GLSL 1.30 is not supported (on the laptop, I assume)?

naelstrof commented 7 years ago

Sorry for such a late response. It should be fixed with ee76d8e0dc3a63e54072f873c85f1403799dbf13

Let me know if it works for you!