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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2964>
This commit is contained in:
Bilal Elmoussaoui 2023-09-19 21:09:01 +02:00 committed by Marge Bot
parent 71accdd978
commit fe292ac941
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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];
};