mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-23 16:03:43 +00:00
Don't set all of the memory to zero when we specify an image without any pixels
This commit is contained in:
parent
992c72e4b5
commit
36641c2268
1 changed files with 0 additions and 1 deletions
|
@ -65,7 +65,6 @@ Image::Image(uint32 height, uint32 width)
|
|||
, m_Pixels(new Pixel[width * height]) {
|
||||
assert(width > 0);
|
||||
assert(height > 0);
|
||||
memset(m_Pixels, 0, width * height * sizeof(Pixel));
|
||||
}
|
||||
|
||||
Image::Image(uint32 height, uint32 width, const Pixel *pixels)
|
||||
|
|
Loading…
Reference in a new issue