Bug 1058

Summary: Fix GLContext.getGLSLVersionString(): Add 'profile' after version for GLSL >= 150 allowing GLSL compatibility profile
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Severity: major CC: sgothel
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
Workaround: ---

Description Sven Gothel 2014-09-02 07:13:33 CEST
GLSL spec defaults to 'core' profile if the profile tag is missing.

A profile tag shall be appended to the #version directive
if GLSL >= 150.
Comment 1 Sven Gothel 2014-09-02 07:17:36 CEST
Comment 2 Sven Gothel 2014-09-02 07:22:21 CEST
See 'The OpenGL Shading Language'
Language Version 4.40, Document Revision 9, 2014-06-16,
Chapter 3.3 p18.