projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
666d0b2
)
Better error message.
author
Carl Hetherington
<cth@carlh.net>
Tue, 23 May 2017 23:24:24 +0000
(
00:24
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 23 May 2017 23:24:24 +0000
(
00:24
+0100)
src/lib/image.cc
patch
|
blob
|
history
diff --git
a/src/lib/image.cc
b/src/lib/image.cc
index 8718223ae83cf96eeb144695472319ee7d3057c1..d1f1fb9d14702873db816e8ef0ef45b8bd8b710e 100644
(file)
--- a/
src/lib/image.cc
+++ b/
src/lib/image.cc
@@
-542,7
+542,7
@@
Image::alpha_blend (shared_ptr<const Image> other, Position<int> position)
break;
}
default:
-
DCPOMATIC_ASSERT (false
);
+
throw PixelFormatError ("alpha_blend()", _pixel_format
);
}
}