From 7502f1ebbcdf592b17da4a334ee709d525272b27 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 30 Mar 2025 05:13:44 +0200 Subject: GL_READ_WRITE -> GL_WRITE_ONLY --- src/color_conversion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color_conversion.c b/src/color_conversion.c index ffea5bb..5d9da3c 100644 --- a/src/color_conversion.c +++ b/src/color_conversion.c @@ -474,7 +474,7 @@ void gsr_color_conversion_draw(gsr_color_conversion *self, unsigned int texture_ self->params.egl->glUniform2i(uniform->source_position, source_position.x, source_position.y); self->params.egl->glUniform2i(uniform->target_position, destination_pos.x, destination_pos.y); self->params.egl->glUniform2f(uniform->scale, scale.x, scale.y); - self->params.egl->glBindImageTexture(0, self->params.destination_textures[0], 0, GL_FALSE, 0, GL_READ_WRITE, GL_RGBA8); + self->params.egl->glBindImageTexture(0, self->params.destination_textures[0], 0, GL_FALSE, 0, GL_WRITE_ONLY, GL_RGBA8); const double num_groups_x = ceil((double)texture_size.x/(double)self->max_local_size_dim); const double num_groups_y = ceil((double)texture_size.y/(double)self->max_local_size_dim); self->params.egl->glDispatchCompute(max_int(1, num_groups_x), max_int(1, num_groups_y), 1); -- cgit v1.2.3-70-g09d2