From ecbb02148b2f5afb6920c33a8d5bb8d3cd44b3a8 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 7 Aug 2017 16:38:23 +0200 Subject: 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 --- video/out/opengl/ra.h | 14 +++++++------- 1 file 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 { -- cgit v1.2.3