summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/utils.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-07-25 06:31:34 +0200
committerNiklas Haas <git@haasn.xyz>2017-07-25 06:32:29 +0200
commit62de84cbe3b060792a7d19cf747a8ba5a697e894 (patch)
tree0d385ad7e84df2d5f2dce7294421095961d1ee87 /video/out/opengl/utils.h
parentd099e037efa2ceaff96c775f5c6f8d1e74650b76 (diff)
downloadmpv-62de84cbe3b060792a7d19cf747a8ba5a697e894.tar.bz2
mpv-62de84cbe3b060792a7d19cf747a8ba5a697e894.tar.xz
vo_opengl: kill off FBOTEX_COMPUTE again
The textures not having an FBO actually caused regressions when trying to render the subtitles on top of this texture (--blend-subtitles), which still relied on an FBO. So just kill off the logic entirely. Why worry about a single FBO wasted when we're allocating like 10 anyway. Fixes #4657.
Diffstat (limited to 'video/out/opengl/utils.h')
-rw-r--r--video/out/opengl/utils.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/opengl/utils.h b/video/out/opengl/utils.h
index f2c405fa9a..d91907fe9f 100644
--- a/video/out/opengl/utils.h
+++ b/video/out/opengl/utils.h
@@ -66,7 +66,6 @@ bool fbotex_change(struct fbotex *fbo, GL *gl, struct mp_log *log, int w, int h,
#define FBOTEX_FUZZY_W 1
#define FBOTEX_FUZZY_H 2
#define FBOTEX_FUZZY (FBOTEX_FUZZY_W | FBOTEX_FUZZY_H)
-#define FBOTEX_COMPUTE 4
void fbotex_set_filter(struct fbotex *fbo, GLenum gl_filter);
void fbotex_invalidate(struct fbotex *fbo);