summaryrefslogtreecommitdiffstats
path: root/app/gfx/gl/gl_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/gfx/gl/gl_context.h')
-rw-r--r--app/gfx/gl/gl_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/gfx/gl/gl_context.h b/app/gfx/gl/gl_context.h
index 1b04985..9da7583 100644
--- a/app/gfx/gl/gl_context.h
+++ b/app/gfx/gl/gl_context.h
@@ -48,6 +48,8 @@ class GLContext {
// Create a GL context used for offscreen rendering. It is initially backed by
// a 1x1 pbuffer. Use it to create an FBO to do useful rendering.
+ // |share_context|, if non-NULL, is a context which the internally created
+ // OpenGL context shares textures and other resources.
static GLContext* CreateOffscreenGLContext(GLContext* shared_context);
protected: