From c1bcd30b09b45d5844f5296f2a08c9aa09b3ff43 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 8 Aug 2017 11:38:29 +0200 Subject: vo_opengl: cosmetics to comments --- video/out/opengl/ra.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/video/out/opengl/ra.h b/video/out/opengl/ra.h index 47fa465d99..bc149c27ee 100644 --- a/video/out/opengl/ra.h +++ b/video/out/opengl/ra.h @@ -307,9 +307,7 @@ struct ra_fns { void (*tex_destroy)(struct ra *ra, struct ra_tex *tex); - // Copy from CPU RAM to the texture. The image dimensions are as specified - // in tex->params. - // This is an extremely common operation. + // Copy from CPU RAM to the texture. This is an extremely common operation. // Unlike with OpenGL, the src data has to have exactly the same format as // the texture, and no conversion is supported. // region can be NULL - if it's not NULL, then the provided pointer only @@ -360,9 +358,9 @@ struct ra_fns { // textures are supported. // Both textures must have tex->params.render_dst==true (even src, which is // an odd GL requirement). - // Rectangle with negative width/height lead to flipping, different src/dst + // Rectangles with negative width/height lead to flipping, different src/dst // sizes lead to point scaling. Coordinates are always in pixels. - // Optional. Only available if RA_CAP_BLIT is set (if it's not set, the must + // Optional. Only available if RA_CAP_BLIT is set (if it's not set, it must // not be called, even if it's non-NULL). void (*blit)(struct ra *ra, struct ra_tex *dst, struct ra_tex *src, struct mp_rect *dst_rc, struct mp_rect *src_rc); -- cgit v1.2.3