GLEW and my shader do not agree - do I have this extension or not?

I open the shaders using them and came up with a strange problem.

I need an extension ARB_robustnessfor my fragment shader to function properly. GLEW is positive that I have this extension:

assert(GLEW_ARB_robustness); // Passes

... however, when I do requirethis in my shader ...

#extension GL_ARB_robustness : require

... the shader compiler does not recognize it.

0(3) : error C0202: extension ARB_robustness not supported

GLEW initializes correctly, and everything works fine until I try to use this extension.

What could be causing this problem and how can I solve it? Thanks in advance.

Update . I spend it on my side with the help of a friend, I ran glxinfoaccording to his advice, and the name of the extension appears in the output.

0
1
+5

Source: https://habr.com/ru/post/1626784/


All Articles