From 3078bebb46a108b18f2a826f2fa286d27760f28f Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Sun, 6 Mar 2022 20:35:57 +0100 Subject: [PATCH] Fix typo in readme --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 9d236f6..57a056c 100644 --- a/readme.md +++ b/readme.md @@ -128,7 +128,7 @@ bmp.SwapChannels(0, 2); const std::vector yourPixelbuffer; // Create a BMP instance with your resolution, and color mode -BMP bmp(Vector2i(img_height, img_width), Colormode::RGBA); +BMP bmp(Vector2i(img_width, img_height), Colormode::RGBA); // Quick safety check, that the pixel buffer sizes do indeed match if (yourPixelbuffer.size() != bmp.GetPixelbufferSize())