diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-10 20:29:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-10 20:29:00 +0100 |
| commit | 320a74efb8d9c8aacded2799459a92d5b7235d90 (patch) | |
| tree | 1f547cb3cde20bd025dabddc6209390e22826b6a /src/lib/image.cc | |
| parent | 623f3c66821d6a99bf0e683a8072b99a168f3a1c (diff) | |
Make subtitles work at least a bit.
Diffstat (limited to 'src/lib/image.cc')
| -rw-r--r-- | src/lib/image.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/image.cc b/src/lib/image.cc index ac30f4ff0..c11bcbb8d 100644 --- a/src/lib/image.cc +++ b/src/lib/image.cc @@ -336,7 +336,7 @@ Image::make_black () } void -Image::alpha_blend (shared_ptr<const Image> other, Position position) +Image::alpha_blend (shared_ptr<const Image> other, Position<int> position) { /* Only implemented for RGBA onto RGB24 so far */ assert (_pixel_format == PIX_FMT_RGB24 && other->pixel_format() == PIX_FMT_RGBA); @@ -372,7 +372,7 @@ Image::alpha_blend (shared_ptr<const Image> other, Position position) } void -Image::copy (shared_ptr<const Image> other, Position position) +Image::copy (shared_ptr<const Image> other, Position<int> position) { /* Only implemented for RGB24 onto RGB24 so far */ assert (_pixel_format == PIX_FMT_RGB24 && other->pixel_format() == PIX_FMT_RGB24); |
