Provide default argument for Texture::Lock()

This commit is contained in:
Dmitry Marakasov 2014-12-19 19:26:53 +03:00
parent eea2b2989b
commit 3dd739d4a3

View File

@ -98,7 +98,7 @@ void Texture::SetColorMod(Uint8 r, Uint8 g, Uint8 b) {
throw Exception("SDL_SetTextureColorMod failed");
}
Texture::LockHandle Texture::Lock(const Rect& rect) {
Texture::LockHandle Texture::Lock(const Rect& rect = Rect::Null()) {
return LockHandle(this, rect);
}