Skip to content

Commit

Permalink
Fedora 40 build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
rerdavies committed Oct 19, 2024
1 parent ebbc350 commit 3b13cc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lv2c/Lv2cDropShadowElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ void Lv2cDropShadowElement::DrawDropShadow(Lv2cDrawingContext &dc, const Lv2cRec

double windowScale = Window()->WindowScale();

cairo_public cairo_surface_t *renderSurface = cairo_image_surface_create(
cairo_surface_t *renderSurface = cairo_image_surface_create(
cairo_format_t::CAIRO_FORMAT_A8,
(int)std::round(deviceBufferBounds.Width()),
(int)std::round(deviceBufferBounds.Height()));
Expand Down
2 changes: 1 addition & 1 deletion src/lv2c/Lv2cElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ void Lv2cElement::Draw(Lv2cDrawingContext &dc, const Lv2cRectangle &clipBounds)

Lv2cRectangle screenBounds = dc.device_to_user(deviceBounds);

cairo_public cairo_surface_t *renderSurface = cairo_image_surface_create(
cairo_surface_t *renderSurface = cairo_image_surface_create(
cairo_format_t::CAIRO_FORMAT_ARGB32,
(int)std::round(deviceBounds.Width()),
(int)std::round(deviceBounds.Height()));
Expand Down

0 comments on commit 3b13cc5

Please sign in to comment.