diff options
author | David Edmundson <davidedmundson@kde.org> | 2018-04-05 12:54:01 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-08-16 22:04:10 +0000 |
commit | 29778037f8a7b2c86bc4044409b37d5a51a15432 (patch) | |
tree | 03d2c96774ac2aa6a8c61db68fd38a63faf75c1e /src/corelib/doc/snippets | |
parent | b0479aab297f041aa9842c3e1996d62c16d7dbcf (diff) |
Don't block on lost context
When glGetError returns GL_CONTEXT_LOST, on XCB + Nvidia at least, the
error does not get cleared until the next successful
glGetGraphicsResetStatus.
We can't handle this properly until the start of the next frame where we
will hopefully have a valid context, but in the meantime we should avoid
locking up completely.
Change-Id: Id438d44d83b926e1f3e4281ca3704231bf1a23cf
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets')
0 files changed, 0 insertions, 0 deletions