Overlay: Add missing early return
This commit is contained in:
@@ -126,6 +126,10 @@ class Fade {
|
||||
|
||||
void draw(Framebuffer &framebuffer, Manager &manager, View &view)
|
||||
{
|
||||
if (!enabled_) {
|
||||
return;
|
||||
}
|
||||
|
||||
GPU_framebuffer_bind(framebuffer);
|
||||
manager.submit(ps_, view);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user