diff options
author | Niklas Haas <git@haasn.xyz> | 2017-08-07 16:38:23 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-08-07 17:46:04 +0200 |
commit | ecbb02148b2f5afb6920c33a8d5bb8d3cd44b3a8 (patch) | |
tree | 7e2f6fa0a16bef880597a52e5b5f37c631be78b4 | |
parent | 01a40bb1eea8a25b69b84401024db80b3e1ed187 (diff) | |
download | mpv-ecbb02148b2f5afb6920c33a8d5bb8d3cd44b3a8.tar.bz2 mpv-ecbb02148b2f5afb6920c33a8d5bb8d3cd44b3a8.tar.xz |
vo_opengl: better formatting for enum RA_CAP
Also fixes an issue where 1 << 5 was used twice, probably because of the
terrible formatting obscuring this bug
-rw-r--r-- | video/out/opengl/ra.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/video/out/opengl/ra.h b/video/out/opengl/ra.h index cf18b110a5..785baf3f1d 100644 --- a/video/out/opengl/ra.h +++ b/video/out/opengl/ra.h @@ -32,13 +32,13 @@ struct ra { }; enum { - RA_CAP_TEX_1D = 1 << 0, // supports 1D textures (as shader source textures) - RA_CAP_TEX_3D = 1 << 1, // supports 3D textures (as shader source textures) - RA_CAP_BLIT = 1 << 2, // supports ra_fns.blit - RA_CAP_COMPUTE = 1 << 3, // supports compute shaders - RA_CAP_PBO = 1 << 4, // supports ra.use_pbo - RA_CAP_BUF_RW = 1 << 5, // supports RA_VARTYPE_BUF_RW - RA_CAP_NESTED_ARRAY = 1 << 5, + RA_CAP_TEX_1D = 1 << 0, // supports 1D textures (as shader inputs) + RA_CAP_TEX_3D = 1 << 1, // supports 3D textures (as shader inputs) + RA_CAP_BLIT = 1 << 2, // supports ra_fns.blit + RA_CAP_COMPUTE = 1 << 3, // supports compute shaders + RA_CAP_PBO = 1 << 4, // supports ra.use_pbo + RA_CAP_BUF_RW = 1 << 5, // supports RA_VARTYPE_BUF_RW + RA_CAP_NESTED_ARRAY = 1 << 6, // supports nested arrays }; enum ra_ctype { |