diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-09-19 16:39:03 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-09-19 16:39:03 +0200 |
commit | d7f7492bb43686cdbf957957c6f1f599305c1f02 (patch) | |
tree | 37543a5627625dfee3c47c0d04a77362c0311fc9 /c++/window-opengl | |
parent | 45378b7a5b5c522e0b52aa60d5ec0e58a8ee0d3d (diff) |
window-opengl: Fixing the constructor definition
Diffstat (limited to 'c++/window-opengl')
-rw-r--r-- | c++/window-opengl/gl_xcb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<gpu_context<backend::gl_linux_xcb> > create_gl_context(io_provider& prov, co return nullptr; } -gpu_window<backend::gl_linux_xcb>::gpu_window(own<window<backend::linux_xcb>> &&win, gpu_context<backend::gl_linux_xcb> &ctx, +gpu_window<backend::gl_linux_xcb>::gpu_window(own<window<backend::linux_xcb>> win, gpu_context<backend::gl_linux_xcb> &ctx, ::GLXWindow glx_win) : window_{std::move(win)}, context_{&ctx}, glx_window_handle_{glx_win} {} |