X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fpixelformat.cpp;h=ee3cad099dd989bb87ff6932866c675d24815165;hp=7647717a44ad3d047e7bfbc0d386a575f5564701;hb=19a6b5184fe057602a53b3f62f49e3ea2ae60a2e;hpb=6d8c517df7d76605f92b756c59f3f23570a688ff 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"); } }