From 7c9ddbf53512f47d92b341c49d5ce21d670d6dba Mon Sep 17 00:00:00 2001 From: namark <namark@disroot.org> Date: Sun, 25 Oct 2020 03:29:55 +0400 Subject: [PATCH] Breaking change in geom::vector only affected this not too bad... --- examples/04_more_image_formats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/04_more_image_formats.cpp b/examples/04_more_image_formats.cpp index 5d23fcd..71dbc93 100644 --- a/examples/04_more_image_formats.cpp +++ b/examples/04_more_image_formats.cpp @@ -139,7 +139,7 @@ auto picopng_load_image(const char* filename) auto png = simple::file::dump( simple::file::bropex(filename) ); std::vector<surface::byte> image_data; - simple::geom::vector<unsigned long> image_size; + simple::geom::vector<unsigned long,2> image_size; int picopng_result = decodePNG( image_data, image_size.x(), image_size.y(), reinterpret_cast<unsigned char*>(png.data()), png.size()); -- GitLab