From ebf80c07e317486bdeb89a845f388bd397282094 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 2 Sep 2015 12:52:11 +0200 Subject: 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. --- video/out/gl_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/gl_utils.h') 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, -- cgit v1.2.3