summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-08-07 16:38:23 +0200
committerNiklas Haas <git@haasn.xyz>2017-08-07 17:46:04 +0200
commitecbb02148b2f5afb6920c33a8d5bb8d3cd44b3a8 (patch)
tree7e2f6fa0a16bef880597a52e5b5f37c631be78b4 /video
parent01a40bb1eea8a25b69b84401024db80b3e1ed187 (diff)
downloadmpv-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
Diffstat (limited to 'video')
-rw-r--r--video/out/opengl/ra.h14
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 {