summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r--video/out/gl_common.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h
index 1c908cfa2b..feeb3e59f4 100644
--- a/video/out/gl_common.h
+++ b/video/out/gl_common.h
@@ -114,13 +114,9 @@ typedef struct MPGLContext {
void (*register_resize_callback)(struct vo *vo,
void (*cb)(struct vo *vo, int w, int h));
- // Optional activity state of context.
- // If false, OpenGL renderers should not draw anything.
- bool (*is_active)(struct MPGLContext *);
-
// Optional callback on the beginning of a frame. The frame will be finished
- // with swapGlBuffers(). Like is_active, this returns false if use of the
- // OpenGL context should be avoided.
+ // with swapGlBuffers(). This returns false if use of the OpenGL context
+ // should be avoided.
bool (*start_frame)(struct MPGLContext *);
// For free use by the backend.