summaryrefslogtreecommitdiff
path: root/c++/window-opengl/gl_xcb.cpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2023-09-19 16:29:41 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2023-09-19 16:29:41 +0200
commit4de4b32c2d21aa4a97efaec9c73f3838abdabe0b (patch)
tree0ea006be8cb1c8d1a66f0a2390795e37bdc74f06 /c++/window-opengl/gl_xcb.cpp
parentca990e36ffa21bb275e0b55fa783c28030b357fe (diff)
window,window-opengl: Fixing up more private problems
Diffstat (limited to 'c++/window-opengl/gl_xcb.cpp')
-rw-r--r--c++/window-opengl/gl_xcb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/window-opengl/gl_xcb.cpp b/c++/window-opengl/gl_xcb.cpp
index 26eb8cd..3bcd21a 100644
--- a/c++/window-opengl/gl_xcb.cpp
+++ b/c++/window-opengl/gl_xcb.cpp
@@ -208,7 +208,7 @@ gpu_window<backend::gl_linux_xcb>::~gpu_window() {
}
void gpu_window<backend::gl_linux_xcb>::bind() {
- assert(window_ && context_->device && context_->device_->get_xcb_display());
+ assert(window_ && context_->device_ && context_->device_->get_xcb_display());
if (window) {
if (context_->device_ && context_->device_->get_xcb_display()) {
::glXMakeContextCurrent(context_->device_->get_xcb_display(), glx_window_,