diff options
author | Sven Gothel <[email protected]> | 2013-10-25 01:39:51 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-10-25 01:39:51 +0200 |
commit | 7b6fe9e4d26b4d3ff2a9ffac12523bcd29196db0 (patch) | |
tree | bd4e0731aa93b908a72008deabe77825f9b0fe10 /src/newt/native/X11Common.h | |
parent | 4050d0a319e88d4795cdefd1fd84789430adc1a2 (diff) |
GLProfile: Fix native profile mapping, i.e. use actual mapped profile-impl as detected and mapped by GLContext ; Enhance glAvailabilityToString(..)
We shall not map profile == profile-impl, i.e. GL3 -> GL3,
but use GLContext.getAvailableGLProfileName(device, reqMajor, reqProfileBits).
The latter reflects the actual mapped context as detected.
glAvailabilityToString(..)
- Partition result in [Natives, Common and Mappings]
- Mappings dumps mapped keys to profiles, while excluding default.
Default is added at last.
- Add count.
Diffstat (limited to 'src/newt/native/X11Common.h')
0 files changed, 0 insertions, 0 deletions