summaryrefslogtreecommitdiffstats
path: root/opengl.h
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2014-07-28 12:50:15 +0800
committerRichard Grenville <pyxlcy@gmail.com>2014-07-28 12:50:15 +0800
commit7e268e7b449a3bb8cf92161e58193c874c4ca589 (patch)
treea9b411ac169f4f0cd5fcba20bc3640680de46a4e /opengl.h
parent90c3a42d5539e12c26684ad43fdda2209ecd39fe (diff)
downloadtdebase-7e268e7b449a3bb8cf92161e58193c874c4ca589.tar.gz
tdebase-7e268e7b449a3bb8cf92161e58193c874c4ca589.zip
Improvement: Separate GLX parts from session_t & Attempt to fix #217
- Separate GLX parts from session_t into glx_session_t. - Add --rererdir-on-root-change and --glx-reinit-on-root-change, as possible solutions for #217. Thanks to jlindgren90 for reporting.
Diffstat (limited to 'opengl.h')
-rw-r--r--opengl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl.h b/opengl.h
index 35ccf6878..b4e04440a 100644
--- a/opengl.h
+++ b/opengl.h
@@ -41,7 +41,7 @@ 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;