Skip to content

Commit

Permalink
Added Cogl Context param to St.ImageContent
Browse files Browse the repository at this point in the history
  • Loading branch information
high1 committed Feb 6, 2025
1 parent df964a0 commit da6aa2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ class BingWallpaperIndicator extends Button {

const image = new St.ImageContent();
const success = image.set_data(
Clutter.get_default_backend().get_cogl_context(),
pixbuf.get_pixels(),
pixbuf.get_has_alpha() ? Cogl.PixelFormat.RGBA_8888 : Cogl.PixelFormat.RGB_888,
width,
Expand Down

0 comments on commit da6aa2e

Please sign in to comment.