diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/image.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/image.cc b/src/lib/image.cc index 8718223ae..d1f1fb9d1 100644 --- 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); } } |
