Compare commits
2 Commits
a95ddb46ad
...
3f1875252e
Author | SHA1 | Date | |
---|---|---|---|
3f1875252e | |||
65609bf685 |
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user