diff options
author | Sven Gothel <[email protected]> | 2012-12-22 07:00:25 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-12-22 07:00:25 +0100 |
commit | f358151ca6f5279a3e97547931f915df78d5129c (patch) | |
tree | 2cffeaa0fee572a19ef849a398f10a9df828d494 /make/scripts/tests.sh | |
parent | 4fa7bfd2018fe5a5c08157a26be22af194839718 (diff) |
Bug 642 / Refine 1ae0737f34143a5ed655bd9c4d5fe9b0437c7774: GLContextImpl.makeCurrent() - Handle !drawable.isRealized() early, don't catch 'create' Exception
Catching the createImpl() exception could be confusing, since it shall succeed.
Such exception is required to hint a platform bug and to debug it.
Hence testing drawable.isRealized() upfront is preferrable, i.e. catching a well known case
for returning CONTEXT_NOT_CURRENT.
Diffstat (limited to 'make/scripts/tests.sh')
0 files changed, 0 insertions, 0 deletions