Skip to content

Commit

Permalink
save before scale
Browse files Browse the repository at this point in the history
  • Loading branch information
djowel committed Mar 14, 2024
1 parent 9d57f7e commit 58024d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/host/linux/skia_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ namespace
}

SkCanvas* gpu_canvas = state._surface->getCanvas();
gpu_canvas->scale(state._scale, state._scale);
gpu_canvas->save();
gpu_canvas->scale(state._scale, state._scale);
auto cnv = canvas{gpu_canvas};

draw(cnv);
Expand Down

0 comments on commit 58024d0

Please sign in to comment.