diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-30 15:17:37 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-30 15:17:37 +0200 |
commit | 3b617ddc53edec727f2794248e2b3eec667898fe (patch) | |
tree | 44bdb9e1d0c4473b9b20214ab22a63cec829f04c /include | |
parent | ec0411c248da407ee951993a7bd715ba7754fb1b (diff) |
Cleanup
Diffstat (limited to 'include')
-rw-r--r-- | include/color_conversion.h | 3 | ||||
-rw-r--r-- | include/egl.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/color_conversion.h b/include/color_conversion.h index 6daf36f..f1eaad8 100644 --- a/include/color_conversion.h +++ b/include/color_conversion.h @@ -7,6 +7,7 @@ #include <stdbool.h> #define GSR_COLOR_CONVERSION_MAX_SHADERS 6 +#define GSR_COLOR_CONVERSION_MAX_FRAMEBUFFERS 2 typedef enum { GSR_COLOR_RANGE_LIMITED, @@ -60,7 +61,7 @@ typedef struct { gsr_color_uniforms uniforms[GSR_COLOR_CONVERSION_MAX_SHADERS]; gsr_shader shaders[GSR_COLOR_CONVERSION_MAX_SHADERS]; - unsigned int framebuffers[2]; + unsigned int framebuffers[GSR_COLOR_CONVERSION_MAX_FRAMEBUFFERS]; unsigned int vertex_array_object_id; unsigned int vertex_buffer_object_id; diff --git a/include/egl.h b/include/egl.h index 859f8e3..730502f 100644 --- a/include/egl.h +++ b/include/egl.h @@ -143,6 +143,8 @@ typedef void(*__GLXextFuncPtr)(void); #define GL_TEXTURE1 0x84C1 #define GL_CLAMP_TO_BORDER 0x812D #define GL_TEXTURE_BORDER_COLOR 0x1004 +#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 +#define GL_ALL_BARRIER_BITS 0xFFFFFFFF #define GL_VENDOR 0x1F00 #define GL_RENDERER 0x1F01 |