Fix buffer size in QImageBuffer.cs

This commit is contained in:
themixedupstuff committed 2024-07-28 11:33:12 +03:00
1 parent dadd9f137a
commit 65609bf685
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ namespace Dashboard.Media.Color
Height = height;
Depth = depth;
buffer = new byte[width * height * depth];
buffer = new byte[(long)width * height * depth * format.BytesPerPixel()];
}
~QImageBuffer()
{