From 8259e06645a7b6ddac9dd241c927a2bfc43d54c7 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Mon, 20 Apr 2026 10:29:36 +0200 Subject: [PATCH] haiku: remove unfinished post-processing support This doesnt' work, because pp_init_fbos and pp_run aren't wired up and no filters ever gets enabled. But the post processing infrastructure has been removed, so let's just delete this code. This gives the code a chance of compiling! Acked-by: Pierre-Eric Pelloux-Prayer Acked-by: Christian Gmeiner Reviewed-by: Eric Engestrom Part-of: --- src/gallium/frontends/hgl/hgl.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/gallium/frontends/hgl/hgl.c b/src/gallium/frontends/hgl/hgl.c index e91ffebe1e3..308b245d0b8 100644 --- a/src/gallium/frontends/hgl/hgl.c +++ b/src/gallium/frontends/hgl/hgl.c @@ -288,10 +288,6 @@ hgl_create_context(struct hgl_display *display, struct st_visual* visual, struct struct st_context *stContext = (struct st_context*)context->st; - // Init Gallium3D Post Processing - // TODO: no pp filters are enabled yet through postProcessEnable - context->postProcess = pp_init(stContext->pipe, context->postProcessEnable, stContext->cso_context, stContext, (void*)st_context_invalidate_state); - return context; } @@ -304,9 +300,6 @@ hgl_destroy_context(struct hgl_context* context) st_destroy_context(context->st); } - if (context->postProcess) - pp_free(context->postProcess); - FREE(context); }