From d7f7492bb43686cdbf957957c6f1f599305c1f02 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 19 Sep 2023 16:39:03 +0200 Subject: window-opengl: Fixing the constructor definition --- c++/window-opengl/gl_xcb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c++/window-opengl') diff --git a/c++/window-opengl/gl_xcb.cpp b/c++/window-opengl/gl_xcb.cpp index f9ccc08..4d1d24f 100644 --- a/c++/window-opengl/gl_xcb.cpp +++ b/c++/window-opengl/gl_xcb.cpp @@ -196,7 +196,7 @@ own > create_gl_context(io_provider& prov, co return nullptr; } -gpu_window::gpu_window(own> &&win, gpu_context &ctx, +gpu_window::gpu_window(own> win, gpu_context &ctx, ::GLXWindow glx_win) : window_{std::move(win)}, context_{&ctx}, glx_window_handle_{glx_win} {} -- cgit v1.2.3