diff --git a/lib/python/rs274/glcanon.py b/lib/python/rs274/glcanon.py index b8677c179d..64a80578b5 100644 --- a/lib/python/rs274/glcanon.py +++ b/lib/python/rs274/glcanon.py @@ -592,9 +592,8 @@ def select(self, x, y): try: buffer = glRenderMode(GL_RENDER) - except OverflowError: - self.select_buffer_size *= 2 - continue + except: + buffer = [] break if buffer: