mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-09 23:41:14 -04:00
Fix return value checking
This commit is contained in:
parent
3f4e0c79be
commit
42fa7bdd70
@ -230,7 +230,7 @@ void Renderer::SetViewport(const Rect& rect) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool Renderer::TargetSupported() {
|
bool Renderer::TargetSupported() {
|
||||||
return SDL_RenderTargetSupported(renderer_);
|
return SDL_RenderTargetSupported(renderer_) == SDL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user