PixelArray
Revision 2:b45a70faaa83, committed 2014-08-13
- Comitter:
- chris
- Date:
- Wed Aug 13 20:26:32 2014 +0000
- Parent:
- 1:41b9f8ec0b6a
- Commit message:
- Added a call in the constructor to clear the memory before its used
Changed in this revision
PixelArray.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 41b9f8ec0b6a -r b45a70faaa83 PixelArray.cpp --- a/PixelArray.cpp Wed Aug 06 08:23:13 2014 +0000 +++ b/PixelArray.cpp Wed Aug 13 20:26:32 2014 +0000 @@ -4,6 +4,7 @@ { pbufsize = size; pbuf = new int[pbufsize]; + SetAll(0x0); // initialise memory to zeros }