Renderer: delete useless function and make a constant local
Renderer: delete useless function and make a constant local

Fixes https://github.com/DaemonEngine/Daemon/issues/511.

DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon