mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-18 19:54:42 -04:00
Fix uninitialized member vars
This commit is contained in:
parent
dfc1b0b2ee
commit
7fd9137239
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
namespace SDL2pp {
|
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) {
|
Texture::LockHandle::LockHandle(Texture* texture, const Rect& rect) : texture_(texture) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user