summaryrefslogtreecommitdiffstats
path: root/src/jogl/native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-16 05:40:09 +0200
committerSven Gothel <[email protected]>2010-04-16 05:40:09 +0200
commit60da84a5ca8fa5e74e995ad0343c8967ba9463a5 (patch)
tree629622e0882c754b9a1d1af4accb4d8206f4c2d6 /src/jogl/native
parent3d8679872f38a56026d87838451eb84da54509f6 (diff)
Fix broken Offscreen/Pbuffer query introduced in bd4904fb04ab2168aeaf76e74385b3991429289a
- Have to set the requested values in GLCapabilities if not relaxed and valid, otherwise the result is always onscreen, since the onscreen/pbuffer bits can be set for the same config. - Let GLContext implementations throw an Exception in case of no surface handle. JUnit Tests: - MiscUtils.setField -> MiscUtils.setFieldIfExists To allow _not_ throwing an exception :)
Diffstat (limited to 'src/jogl/native')
0 files changed, 0 insertions, 0 deletions