diff options
author | crupest <crupest@outlook.com> | 2021-10-26 16:07:53 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-10-26 16:07:53 +0800 |
commit | 397843cda9e4161d3e92d8797f8012f478ce64f0 (patch) | |
tree | c04b1600fb60e5aca9e19ab21c2a52efedbc2bad /src/osx/graphics/quartz/Brush.cpp | |
parent | a4dafa3e2918f2cc28657145e6b0afe7bcf1ca7b (diff) | |
download | cru-397843cda9e4161d3e92d8797f8012f478ce64f0.tar.gz cru-397843cda9e4161d3e92d8797f8012f478ce64f0.tar.bz2 cru-397843cda9e4161d3e92d8797f8012f478ce64f0.zip |
...
Diffstat (limited to 'src/osx/graphics/quartz/Brush.cpp')
-rw-r--r-- | src/osx/graphics/quartz/Brush.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/osx/graphics/quartz/Brush.cpp b/src/osx/graphics/quartz/Brush.cpp index 41e9d2c5..9daa8e13 100644 --- a/src/osx/graphics/quartz/Brush.cpp +++ b/src/osx/graphics/quartz/Brush.cpp @@ -20,11 +20,7 @@ void QuartzSolidColorBrush::SetColor(const Color& color) { } void QuartzSolidColorBrush::Select(CGContextRef context) { - CGContextSaveGState(context); - CGContextSetStrokeColorWithColor(context, cg_color_); CGContextSetFillColorWithColor(context, cg_color_); - - CGContextRestoreGState(context); } } // namespace cru::platform::graphics::osx::quartz |