diff options
author | wm4 <wm4@nowhere> | 2013-03-02 17:08:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-03 15:36:56 +0100 |
commit | 9efe32120b4d5aaa88eccf4767fa7d7c5c700fd1 (patch) | |
tree | 2be16d7b556409a1ad5e680b2dc6b73ba2b3d868 /video/out/gl_common.h | |
parent | ba35335939c46a1ed53584c2b850c7deecbf837a (diff) | |
download | mpv-9efe32120b4d5aaa88eccf4767fa7d7c5c700fd1.tar.bz2 mpv-9efe32120b4d5aaa88eccf4767fa7d7c5c700fd1.tar.xz |
vo_opengl: don't destroy VOFLAG_HIDDEN window
This was done so because the X11 code had a hard to track down issue
with some window managers, and caused the VO window to be placed
incorrectly. This was fixed in the previous commit. Consequently, we can
remove this bad hack.
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r-- | video/out/gl_common.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h index d3e049cc28..415e31e941 100644 --- a/video/out/gl_common.h +++ b/video/out/gl_common.h @@ -139,7 +139,6 @@ typedef struct MPGLContext { // For free use by the backend. void *priv; - bool vo_init_ok; } MPGLContext; int mpgl_find_backend(const char *name); @@ -155,10 +154,6 @@ void mpgl_uninit(MPGLContext *ctx); bool mpgl_config_window(struct MPGLContext *ctx, int gl_caps, uint32_t d_width, uint32_t d_height, uint32_t flags); -// Destroy the window, without resetting GL3 vs. GL2 context choice. -// If this fails (false), mpgl_uninit(ctx) must be called. -bool mpgl_destroy_window(struct MPGLContext *ctx); - // print a multi line string with line numbers (e.g. for shader sources) // mod, lev: module and log level, as in mp_msg() void mp_log_source(int mod, int lev, const char *src); |