Merge branch 'master' into blurg-test
This commit is contained in:
commit
3f1875252e
@ -22,7 +22,7 @@ namespace Dashboard.Media.Color
|
|||||||
Height = height;
|
Height = height;
|
||||||
Depth = depth;
|
Depth = depth;
|
||||||
|
|
||||||
buffer = new byte[width * height * depth];
|
buffer = new byte[(long)width * height * depth * format.BytesPerPixel()];
|
||||||
}
|
}
|
||||||
~QImageBuffer()
|
~QImageBuffer()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user