summaryrefslogtreecommitdiffstats
path: root/video/out/gl_utils.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-02 12:52:11 +0200
committerwm4 <wm4@nowhere>2015-09-02 13:17:23 +0200
commitebf80c07e317486bdeb89a845f388bd397282094 (patch)
treef8e603700b11a5c91c2192d4aed67d02363c2bd8 /video/out/gl_utils.h
parent8ffbb22c270aeef063755fc9b00c4d272959d930 (diff)
downloadmpv-ebf80c07e317486bdeb89a845f388bd397282094.tar.bz2
mpv-ebf80c07e317486bdeb89a845f388bd397282094.tar.xz
vo_opengl: don't distinguish "real" and texture size
This is from times when we supported padded/non-NPOT textures. The difference is not useful anymore, and theoretical support for different sizes is most likely buggy and unmaintained. So remove it. Also remove the tex_ prefix wherever it appears.
Diffstat (limited to 'video/out/gl_utils.h')
-rw-r--r--video/out/gl_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_utils.h b/video/out/gl_utils.h
index f03ac07b83..1dfca78858 100644
--- a/video/out/gl_utils.h
+++ b/video/out/gl_utils.h
@@ -74,7 +74,7 @@ struct fbotex {
GLuint texture;
GLenum iformat;
GLenum tex_filter;
- int tex_w, tex_h; // size of .texture
+ int w, h; // size of .texture
};
bool fbotex_init(struct fbotex *fbo, GL *gl, struct mp_log *log, int w, int h,