picogl.backend.modern.core.shader.context
OpenGL context checks for shader compile/bind (Qt + headless).
Functions
|
Drain pending gl errors so the next call's status is meaningful. |
|
True when a gl context is current and |
|
|
|
Module Contents
- picogl.backend.modern.core.shader.context.clear_gl_errors(max_clear: int = 8) None[source]
Drain pending gl errors so the next call’s status is meaningful.