diff options
author | Sven Gothel <[email protected]> | 2014-10-01 23:51:33 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-10-01 23:59:16 +0200 |
commit | 66d00dfc4cb2612fa91680b960baf5a2fb5fed53 (patch) | |
tree | f39071526a9172550e1bed9c8fc2682639f79b72 /src/jogl/classes/jogamp/opengl/util/glsl | |
parent | 39cd0dfa0e46a3617b51e5b15a5fccedeae77f39 (diff) |
Bug 1084: Fix GLProfile Mapping regarding hardware priority, honor software/hardware attribute of all profiles
GLProfile's mapping code does not consider the following combination:
- GL4 software
- GL3 hardware
and hence maps GL4-software -> [GL2ES2, GL2GL3],
where GL3-hardware -> [GL2ES2, GL2GL3] is desired.
This combination has recently been observed on
Mac OSX 10.9.5, which includes a software GL 4.1 implementation.
However, other systems could be affected as well.
+++
Fix GLProfile.computeProfileImpl(..):
Only use the higher profile, if hardware-accelerated or none of the
lower profiles offers hardware-acceleration!
This extra condition was missing for certain profiles,
e.g. GL4, GL4bc, GL3, GL3bc and GL2.
Conflicts:
make/scripts/tests.sh
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/util/glsl')
0 files changed, 0 insertions, 0 deletions