-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenGL.error.GLError: GLError - err = 1281 - description = b'invalid value' #32
Comments
Thanks for the bug report. I don't know how to solve it without a more precise cause, or a way to reproduce the bug. Somebody is clearly setting an invalid scissor box. GLFW, maybe? I can't find such a code though. |
Take a look at the issue over at GLFW. Is there a way to catch this error in any way, to make sure it just does not happen? Im having trouble to consistently reproduce it myself as well. |
It looks simple to work around. Replace this line with the following to force non-negative scissor box width and height. gl.glScissor(int(x), int(fb_height - w), max(0, int(z - x)), max(0, int(w - y))) That said, this is either a bug in ImGui, or ImGui mis-use. Do you do anything suspicious with columns, or child boxes, etc.? Related bug: ocornut/imgui#3475 |
I have a lot of selectables and pictures inside columns if you would consider this suspicious :D. Why not make this change default, could it possibly cause any problems? |
Probably not. The only problem is that it's yet another deviation from upstream. Will do, stability is important. |
I just got this one, It happened randomly without any special interaction:
Not sure if that tells you anything and its not something, that happens all the time but I wanted to report it just to be sure.
EDIT: I was able to reproduce it by clicking special buttons on my Mouse Logitech G502 multiple times. Do note, that one of the custom keys will trigger the Windows action to "Show the Desktop", meaning minimize all windows and I believe its related to that, at least it seems like it.
EDIT2: As the error seems to be related to OpenGL I opened an issue over there: mcfletch/pyopengl#53
The text was updated successfully, but these errors were encountered: