From 7baa18d5f8a4c663cd20e709c059c44364020f47 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sun, 27 Aug 2017 13:28:51 +0200 Subject: vo_opengl: fix misleading comment in ra.h tex_upload is not just for buffers --- video/out/opengl/ra.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'video/out') diff --git a/video/out/opengl/ra.h b/video/out/opengl/ra.h index 4a728fbb5f..f78eff82c9 100644 --- a/video/out/opengl/ra.h +++ b/video/out/opengl/ra.h @@ -335,12 +335,12 @@ struct ra_fns { void (*tex_destroy)(struct ra *ra, struct ra_tex *tex); - // Copy the contents of a buffer to a texture. This is an extremely common - // operation. The contents of the buffer must exactly match the format of - // the image - conversions between bit depth etc. are not supported. - // The buffer *may* be marked as "in use" while this operation is going on, - // and the contents must not be touched again by the API user until - // buf_poll returns true. Returns whether successful. + // Upload data to a texture. This is an extremely common operation. When + // using a buffer, the contants of the buffer must exactly match the image + // - conversions between bit depth etc. are not supported. The buffer *may* + // be marked as "in use" while this operation is going on, and the contents + // must not be touched again by the API user until buf_poll returns true. + // Returns whether successful. bool (*tex_upload)(struct ra *ra, const struct ra_tex_upload_params *params); // Create a buffer. This can be used as a persistently mapped buffer, -- cgit v1.2.3