diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-08-08 23:32:21 +0300 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-08-08 23:43:35 +0300 |
commit | 75760c7bffe20a62219fdb9ade9864b5f15ec58e (patch) | |
tree | f209fc7a67bf24ed5ea26427c2836f5770d9a156 /tools/shared.py | |
parent | d92a3ab59d8446d3e2fc7e38a7090f097bc5af82 (diff) |
If WebGL context creation fails, return 0 in glutCreateWindow and EGL_NO_CONTEXT in eglCreateContext to allow the user to detect whether WebGL support is enabled in the browser or not.
Diffstat (limited to 'tools/shared.py')
0 files changed, 0 insertions, 0 deletions