summaryrefslogtreecommitdiffstats
path: root/twin/compton-tde/opengl.h
diff options
context:
space:
mode:
Diffstat (limited to 'twin/compton-tde/opengl.h')
-rw-r--r--twin/compton-tde/opengl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/twin/compton-tde/opengl.h b/twin/compton-tde/opengl.h
index 8628e36d3..b4e04440a 100644
--- a/twin/compton-tde/opengl.h
+++ b/twin/compton-tde/opengl.h
@@ -41,10 +41,10 @@ glx_dump_err_str(GLenum err) {
*/
static inline void
glx_check_err_(session_t *ps, const char *func, int line) {
- if (!ps->glx_context) return;
+ if (!ps->psglx->context) return;
GLenum err = GL_NO_ERROR;
-
+
while (GL_NO_ERROR != (err = glGetError())) {
print_timestamp(ps);
printf("%s():%d: GLX error ", func, line);