Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix openGl error when clicking in gremlin
Browse files Browse the repository at this point in the history
hansu committed Jan 1, 2024
1 parent 0bf0caf commit 183389b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/python/rs274/glcanon.py
Original file line number Diff line number Diff line change
@@ -595,6 +595,10 @@ def select(self, x, y):
except OverflowError:
self.select_buffer_size *= 2
continue
except OpenGL.error.GLError as e:
if e.err == GL_STACK_OVERFLOW:
self.select_buffer_size *= 2
continue
break

if buffer:

0 comments on commit 183389b

Please sign in to comment.