mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 04:19:19 +02:00
reformat: functions can be made static
This commit is contained in:
@@ -960,7 +960,7 @@ GLFWmonitor *eu07_application::find_monitor(const std::string &str) const
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::string eu07_application::describe_monitor(GLFWmonitor *monitor) const
|
||||
std::string eu07_application::describe_monitor(GLFWmonitor *monitor)
|
||||
{
|
||||
std::string name(glfwGetMonitorName(monitor));
|
||||
std::replace(std::begin(name), std::end(name), ' ', '_');
|
||||
@@ -973,7 +973,7 @@ std::string eu07_application::describe_monitor(GLFWmonitor *monitor) const
|
||||
|
||||
// private:
|
||||
|
||||
bool eu07_application::needs_ogl() const
|
||||
bool eu07_application::needs_ogl()
|
||||
{
|
||||
return !Global.NvRenderer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user