summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-09-16 09:02:50 +0200
committerNiklas Haas <git@haasn.xyz>2017-09-21 15:01:22 +0200
commit61f5c423bef02ee44811e78e14c42cc7e8d47ec4 (patch)
treee507fe58370d7188784be85360dcceb385e83d06 /video
parente92effb14feab6b189a4e6fbc75504834328c48e (diff)
downloadmpv-61f5c423bef02ee44811e78e14c42cc7e8d47ec4.tar.bz2
mpv-61f5c423bef02ee44811e78e14c42cc7e8d47ec4.tar.xz
vo_gpu: fix comment on ra_buf_type
This hasn't been true for several iterations of this API.
Diffstat (limited to 'video')
-rw-r--r--video/out/gpu/ra.h4
1 files changed, 2 insertions, 2 deletions
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)