From 61f5c423bef02ee44811e78e14c42cc7e8d47ec4 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 16 Sep 2017 09:02:50 +0200 Subject: vo_gpu: fix comment on ra_buf_type This hasn't been true for several iterations of this API. --- video/out/gpu/ra.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out/gpu') diff --git a/video/out/gpu/ra.h b/video/out/gpu/ra.h index 76f98397f8..10245b250e 100644 --- a/video/out/gpu/ra.h +++ b/video/out/gpu/ra.h @@ -139,8 +139,8 @@ struct ra_tex_upload_params { ptrdiff_t stride; // The size of a horizontal line in bytes (*not* texels!) }; -// Buffer type hint. Setting this may result in more or less efficient -// operation, although it shouldn't technically prohibit anything +// Buffer usage type. This restricts what types of operations may be performed +// on a buffer. enum ra_buf_type { RA_BUF_TYPE_INVALID, RA_BUF_TYPE_TEX_UPLOAD, // texture upload buffer (pixel buffer object) -- cgit v1.2.3