summaryrefslogtreecommitdiffstats
path: root/app/gfx/gl
diff options
context:
space:
mode:
Diffstat (limited to 'app/gfx/gl')
-rw-r--r--app/gfx/gl/gl_context.h2
-rw-r--r--app/gfx/gl/gl_context_mac.cc1
2 files changed, 2 insertions, 1 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:
diff --git a/app/gfx/gl/gl_context_mac.cc b/app/gfx/gl/gl_context_mac.cc
index e69f644..7d5bc39 100644
--- a/app/gfx/gl/gl_context_mac.cc
+++ b/app/gfx/gl/gl_context_mac.cc
@@ -6,7 +6,6 @@
#include <OpenGL/OpenGL.h>
-#include "app/surface/accelerated_surface_mac.h"
#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "app/gfx/gl/gl_bindings.h"