diff options
author | wm4 <wm4@nowhere> | 2014-11-27 19:48:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-27 19:48:15 +0100 |
commit | 44950449473cd786aa08324a20b2e8c8d413d965 (patch) | |
tree | f0f8edfb9164aa64f789bc6d4a8dd1be7f395631 | |
parent | 78f0cb92815812f058676e1d3b0fc723c11f1d7f (diff) | |
download | mpv-44950449473cd786aa08324a20b2e8c8d413d965.tar.bz2 mpv-44950449473cd786aa08324a20b2e8c8d413d965.tar.xz |
gl_video: minor simplification
Not needed anymore.
-rw-r--r-- | video/out/gl_video.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 908442ad3d..56bdf78b57 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -2212,10 +2212,6 @@ static const struct fmt_entry *find_tex_format(int bytes_per_comp, int n_channel static bool init_format(int fmt, struct gl_video *init) { - struct gl_video dummy; - if (!init) - init = &dummy; - init->hwdec_active = false; if (init->hwdec && init->hwdec->driver->imgfmt == fmt) { fmt = init->hwdec->converted_imgfmt; |