Re: unusable profile selected with GL2ES2 capabilities - a bug or a ..feature?
Posted by
Xerxes Rånby on
Aug 30, 2013; 4:49pm
URL: https://forum.jogamp.org/unusable-profile-selected-with-GL2ES2-capabilities-a-bug-or-a-feature-tp4029916p4029927.html
eimaiosatanas wrote
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: AMD Radeon HD 7700 Series
GL_VERSION: 4.2.12217 Core Profile Context 12.104
Error compiling the vertex shader: Vertex shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors. No code generated
This particular error can only be avoided by adding a version line
#version 130
// GLSL 1.3 is the lowest version of GLSL supported by OpenGL 3 core GLSL spec
at the top of the vertex and fragment shader when using a GL3 or GL4 context.
It looks like AMD GPU drivers enforce the opengl spec that require the version to be explicitly set.
or... use a backward compatible context.