From fe292ac9411ab76a43e438a985263ca749343ac2 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Tue, 19 Sep 2023 21:09:01 +0200 Subject: [PATCH] st: Use correct type for CoglTexture No idea how come CoglPipeline was used here but the fact that everything was a CoglHandle, made things just work despite being wrong? Part-of: --- src/st/st-theme-node-private.h | 4 ++-- src/st/st-theme-node.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/st/st-theme-node-private.h b/src/st/st-theme-node-private.h index da6e4ce96..02eb95e52 100644 --- a/src/st/st-theme-node-private.h +++ b/src/st/st-theme-node-private.h @@ -107,9 +107,9 @@ struct _StThemeNode { guint stylesheets_changed_id; - CoglPipeline *border_slices_texture; + CoglTexture *border_slices_texture; CoglPipeline *border_slices_pipeline; - CoglPipeline *background_texture; + CoglTexture *background_texture; CoglPipeline *background_pipeline; CoglPipeline *background_shadow_pipeline; CoglPipeline *color_pipeline; diff --git a/src/st/st-theme-node.h b/src/st/st-theme-node.h index 520e29f4f..b8e0d30a7 100644 --- a/src/st/st-theme-node.h +++ b/src/st/st-theme-node.h @@ -170,7 +170,7 @@ struct _StThemeNodePaintState { float resource_scale; CoglPipeline *box_shadow_pipeline; - CoglPipeline *prerendered_texture; + CoglTexture *prerendered_texture; CoglPipeline *prerendered_pipeline; CoglPipeline *corner_material[4]; };