mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-09 07:18:45 -04:00
Provide default argument for Texture::Lock()
This commit is contained in:
parent
eea2b2989b
commit
3dd739d4a3
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user