mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-10 07:50:06 -04:00
Mark const method as such
This commit is contained in:
parent
be15f8c1d6
commit
90fef8ab49
@ -223,7 +223,7 @@ void Renderer::SetViewport(const Optional<Rect>& rect) {
|
||||
throw Exception("SDL_RenderSetViewport failed");
|
||||
}
|
||||
|
||||
bool Renderer::TargetSupported() {
|
||||
bool Renderer::TargetSupported() const {
|
||||
return SDL_RenderTargetSupported(renderer_) == SDL_TRUE;
|
||||
}
|
||||
|
||||
|
@ -538,7 +538,7 @@ public:
|
||||
/// \see http://wiki.libsdl.org/SDL_RenderTargetSupported
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
bool TargetSupported();
|
||||
bool TargetSupported() const;
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Get the clip rectangle for the current target
|
||||
|
Loading…
x
Reference in New Issue
Block a user