summaryrefslogtreecommitdiff
path: root/c++/window-opengl/gl_xcb.h
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.h
parentca990e36ffa21bb275e0b55fa783c28030b357fe (diff)
window,window-opengl: Fixing up more private problems
Diffstat (limited to 'c++/window-opengl/gl_xcb.h')
-rw-r--r--c++/window-opengl/gl_xcb.h2
1 files changed, 2 insertions, 0 deletions
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<backend::gl_linux_xcb>;
public:
gpu_context(const glx_library_extensions&, own<device<backend::linux_xcb>>, int, GLXContext, GLXFBConfig);
~gpu_context();