X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpixelformat.cpp;h=ee3cad099dd989bb87ff6932866c675d24815165;hb=946266e823c07025f115b5e4f5523b496dcb393e;hp=7647717a44ad3d047e7bfbc0d386a575f5564701;hpb=4d7f66ea28c788e12f700216b9c53af9e71b8390;p=libs%2Fgl.git diff --git a/source/pixelformat.cpp b/source/pixelformat.cpp index 7647717a..ee3cad09 100644 --- a/source/pixelformat.cpp +++ b/source/pixelformat.cpp @@ -144,7 +144,7 @@ unsigned get_component_count(PixelFormat pf) case BGRA: return 4; default: - throw invalid_argument("get_pixelformat_component_count"); + throw invalid_argument("get_component_count"); } }