summaryrefslogtreecommitdiff
path: root/c++/window-opengl/gl_xcb.h
diff options
context:
space:
mode:
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();