1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-25 17:58:27 +00:00

vo_gpu: fix comment on ra_buf_type

This hasn't been true for several iterations of this API.
This commit is contained in:
Niklas Haas 2017-09-16 09:02:50 +02:00
parent e92effb14f
commit 61f5c423be

View File

@ -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)