GRAPHICS: Fix for a Valgrind warning about an uninitialized value
This commit is contained in:
parent
6ffdacf170
commit
a69f29dd3a
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ PixelBuffer::PixelBuffer()
|
|||
}
|
||||
|
||||
PixelBuffer::PixelBuffer(const PixelFormat &format, int buffersize, DisposeAfterUse::Flag dispose)
|
||||
: _buffer(NULL) {
|
||||
: _buffer(NULL),
|
||||
_dispose(DisposeAfterUse::NO) {
|
||||
create(format, buffersize, dispose);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue