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>
Status: RESOLVED FIXED    
Severity: major CC: sgothel
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
fbbc153150faecdaa7f37c15eb03fc484276bb40
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
fbbc153150faecdaa7f37c15eb03fc484276bb40
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.