diff options
author | Sven Gothel <[email protected]> | 2014-07-30 02:37:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-07-30 02:37:47 +0200 |
commit | c8b99d197769eaec53c2def562c0ef3fc0e6a9d2 (patch) | |
tree | fed2c6e9c85ef313bbfa02db54e57d56298f0733 /www | |
parent | d55f1061a64f92d702a7f218d2f866fa4d5fa9dc (diff) |
GLContext: Don't map compatibility profiles to core profile if the latter are not available (restrict profile aliasing) ; GLProfile does this - Simplification.
GLContext shall not map compatibility profiles to core profile if the latter is are not available (restrict profile aliasing).
If a user requests a straight GL3 core profile, don't answer with a compatibility profile, e.g. GL4bc.
Hence this patch exposes the true GL profile situation more honestly the the user!
User can already query profile mappings via GLProfile, i.e.
- GL2GL3,
- GL4ES3, or via
- getMaximum
- getMaxFixedFunc
- getMaxProgrammable
- getMaxProgrammableCore
This also fixes an issue when a user requests 'getMaxProgrammableCore'
but would receive a GL4bc profile.
Diffstat (limited to 'www')
0 files changed, 0 insertions, 0 deletions