Fix uninitialized member vars

This commit is contained in:
Dmitry Marakasov 2014-12-26 01:46:08 +03:00
parent dfc1b0b2ee
commit 7fd9137239

View File

@ -28,7 +28,7 @@
namespace SDL2pp {
Texture::LockHandle::LockHandle() : texture_(nullptr) {
Texture::LockHandle::LockHandle() : texture_(nullptr), pixels_(nullptr), pitch_(0) {
}
Texture::LockHandle::LockHandle(Texture* texture, const Rect& rect) : texture_(texture) {