From 4de4b32c2d21aa4a97efaec9c73f3838abdabe0b Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 19 Sep 2023 16:29:41 +0200 Subject: window,window-opengl: Fixing up more private problems --- c++/window-opengl/gl_xcb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'c++/window-opengl/gl_xcb.h') diff --git a/c++/window-opengl/gl_xcb.h b/c++/window-opengl/gl_xcb.h index f7f5d6a..0d84662 100644 --- a/c++/window-opengl/gl_xcb.h +++ b/c++/window-opengl/gl_xcb.h @@ -29,6 +29,8 @@ private: int visual_id_; GLXContext context_; GLXFBConfig fb_config_; + + friend class gpu_window; public: gpu_context(const glx_library_extensions&, own>, int, GLXContext, GLXFBConfig); ~gpu_context(); -- cgit v1.2.3