mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Remove unnecessary scope
This commit is contained in:
parent
86682d99dd
commit
91956d152d
@ -480,7 +480,6 @@ bool RenderTarget::isSrgb() const
|
||||
bool RenderTarget::setActive(bool active)
|
||||
{
|
||||
// Mark this RenderTarget as active or no longer active in the tracking map
|
||||
{
|
||||
const std::lock_guard lock(RenderTargetImpl::getMutex());
|
||||
|
||||
const std::uint64_t contextId = Context::getActiveContextId();
|
||||
@ -512,7 +511,6 @@ bool RenderTarget::setActive(bool active)
|
||||
|
||||
m_cache.enable = false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user