aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/x11/glxext.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-12-22 07:00:25 +0100
committerSven Gothel <[email protected]>2012-12-22 07:00:25 +0100
commitf358151ca6f5279a3e97547931f915df78d5129c (patch)
tree2cffeaa0fee572a19ef849a398f10a9df828d494 /make/stub_includes/x11/glxext.c
parent4fa7bfd2018fe5a5c08157a26be22af194839718 (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/stub_includes/x11/glxext.c')
0 files changed, 0 insertions, 0 deletions