From 5dd004464d37c3f0e334423588bc9d140b573255 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 23 Aug 2023 01:04:43 +0200 Subject: c++,window: Implemented missing functions --- c++/window-opengl/gl_xcb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c++/window-opengl/gl_xcb.cpp') diff --git a/c++/window-opengl/gl_xcb.cpp b/c++/window-opengl/gl_xcb.cpp index 42e8f5d..41c262a 100644 --- a/c++/window-opengl/gl_xcb.cpp +++ b/c++/window-opengl/gl_xcb.cpp @@ -86,7 +86,7 @@ own> gl_context::creat return nullptr; } - ::GLXWindow glx_win = glXCreateWindow(device_->get_xcb_display(), fb_config_, win->xcb_window_, nullptr); + ::GLXWindow glx_win = glXCreateWindow(device_->get_xcb_display(), fb_config_, win->get_xcb_window_handle(), nullptr); return heap>(std::move(win), *this, glx_win); } @@ -194,7 +194,7 @@ own > create_gl_context(io_provider& prov, co gl_window::gl_window(own &&win, gl_context &ctx, ::GLXWindow glx_win) - : window_{std::move(win)}, context_{&ctx}, glx_window_{glx_win} {} + : window_{std::move(win)}, context_{&ctx}, glx_window_handle_{glx_win} {} gl_window::~gl_window() { assert(context.device); -- cgit v1.2.3