diff options
author | Sven Gothel <[email protected]> | 2013-04-12 20:27:21 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-04-12 20:27:21 +0200 |
commit | cfe62741e19196d973d9b31f2c8f3873705cb74b (patch) | |
tree | 6c9ee8f3404f2ad1e1039b88767c6340cb5423a1 /make/stub_includes/libav | |
parent | dc898f14eeebf524726c820e25ffefb166a6c7f3 (diff) |
GLContextImpl: destroy(): Fix null drawable check; makeCurrentWithinLock(): Add drawable size validation before attempt to create context; MacOSXCGLContext: Explicit exception for Null AttachGLLayerCmd.
GLContextImpl:
- destroy():
- Fix null drawable check
Only if the GLContext isCreated(), we require a drawable to be set.
- Proper name of associateDrawable Exception
- makeCurrentWithinLock():
- Add drawable size validation before attempt to create context.
- 'makeCurrent()' shall never be called w/o proper sized drawable, i.e. > 0x0.
- returns CONTEXT_NOT_CURRENT, if drawable size is <= 0x0
MacOSXCGLContext:
- Explicit exception for Null AttachGLLayerCmd.
In case context creation has failed via makeCurrent(),
AttachGLLayerCmd may never been issued and hence maybe NULL.
Catch this case and send a meaningful exception,
which is catched and fwd in GLContext.destroy().
Diffstat (limited to 'make/stub_includes/libav')
0 files changed, 0 insertions, 0 deletions