Skip to content

Commit

Permalink
Merge branch 'main' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Jun 11, 2024
2 parents 10caee2 + 26994fe commit d73dd6d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion clip
Submodule clip updated 1 files
+1 −1 CMakeLists.txt
6 changes: 6 additions & 0 deletions gfx/clip.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ namespace gfx {
, size(w, h) {
}

explicit ClipT(const SizeT<T>& sz)
: dst(0, 0)
, src(0, 0)
, size(sz) {
}

ClipT(T dst_x, T dst_y, T src_x, T src_y, T w, T h)
: dst(dst_x, dst_y)
, src(src_x, src_y)
Expand Down

0 comments on commit d73dd6d

Please sign in to comment.