vcpkg/ports/osgearth/blend2d.patch
Jakub Melka 11884e49a8
[blend2d] update port to 2024-06-28 (#39730)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-07-10 10:01:55 -04:00

23 lines
1.1 KiB
Diff

diff --git a/src/osgEarth/FeatureRasterizer.cpp b/src/osgEarth/FeatureRasterizer.cpp
index 2b823a58f..ecf1cd13f 100644
--- a/src/osgEarth/FeatureRasterizer.cpp
+++ b/src/osgEarth/FeatureRasterizer.cpp
@@ -487,7 +487,7 @@ namespace osgEarth {
ctx.scale(scale);
ctx.blitImage(BLPoint((double)g->left - GLYPH_PADDING, (double)(-g->top) - GLYPH_PADDING), sprite, glyphRect);
//ctx.blitImage(BLPoint(0, 0), sprite, glyphRect);
- ctx.resetMatrix();
+ ctx.resetTransform();
#if 0
// Draw the text bounding box
@@ -572,7 +572,7 @@ namespace osgEarth {
ctx.translate(x, y);
ctx.scale(scale);
ctx.blitImage(BLPoint(-iconRect.w / 2.0, -iconRect.h / 2.0), sprite, iconRect);
- ctx.resetMatrix();
+ ctx.resetTransform();
}
});
}