summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-27 22:01:27 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-03-03 16:02:16 +0900
commit910da3af6afce49e51834b4d4251c1c6482e5c5a (patch)
treef6b5754a0e27b137ba3c08050732c89046fcfa43
parent517f15dc497ed9b5f5c44ff3574395a97eaa234f (diff)
downloadmpv-910da3af6afce49e51834b4d4251c1c6482e5c5a.tar.bz2
mpv-910da3af6afce49e51834b4d4251c1c6482e5c5a.tar.xz
vo_opengl: fix some comments
(cherry picked from commit e7b7a5a476a9082320173a7c09b22d3b679fe557)
-rw-r--r--video/out/gl_video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index ee1817ae69..0fede709e8 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -467,9 +467,9 @@ void gl_video_set_debug(struct gl_video *p, bool enable)
}
// Draw a textured quad.
-// x0, y0, x1, y1 = destination coordinates of the quad
-// tx0, ty0, tx1, ty1 = source texture coordinates (usually in pixels)
-// texture_w, texture_h = size of the texture, or an inverse factor
+// x0, y0, x1, y1 = destination coordinates of the quad in pixels
+// tx0, ty0, tx1, ty1 = source texture coordinates in pixels
+// tex_w, tex_h = size of the texture in pixels
// flags = bits 0-1: rotate, bits 2: flip vertically
static void draw_quad(struct gl_video *p,
float x0, float y0, float x1, float y1,