summaryrefslogtreecommitdiff
path: root/src/lib/image.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-11 14:29:55 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-11 14:29:55 +0100
commitb655bd3359e9a014da68cd9f61e2a5b1d233247d (patch)
tree42ab16fdc9621fd0314a71f051804cdacd1cb823 /src/lib/image.cc
parente64acff7da897cd03d88aa9e8e21682545a61cc2 (diff)
parent2514ffcd1adcca4fc8e3db894afb5cdc6c857e94 (diff)
Merge branch '1.0' of /home/carl/git/dvdomatic into 1.0
Diffstat (limited to 'src/lib/image.cc')
-rw-r--r--src/lib/image.cc4
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);