diff --git a/src/AbstractImage.cpp b/src/AbstractImage.cpp index 075ff69b3..04f14f2b6 100644 --- a/src/AbstractImage.cpp +++ b/src/AbstractImage.cpp @@ -95,7 +95,7 @@ size_t AbstractImage::pixelSize(Components format, ComponentType type) { case Components::Depth: case Components::StencilIndex: case Components::DepthStencil: - CORRADE_ASSERT(false, "AbstractImage::pixelSize(): unhandled depth/stencil type", 0); + CORRADE_INTERNAL_ASSERT(false); #endif }