Update standard
This commit is contained in:
parent
c355a7a9e0
commit
6211f7fc62
@ -90,3 +90,6 @@ no-no's:
|
||||
struct keyword before an object declaration
|
||||
struct game_state* gl; //bad boi
|
||||
excess include directives
|
||||
if body on the same line as the if keyword
|
||||
elso body on the same line as the else keyword
|
||||
if(thing) do_stuff();
|
||||
|
||||
@ -55,6 +55,7 @@ void render_manager::update(){
|
||||
|
||||
void render_manager::request_exit()
|
||||
{
|
||||
if (m_windowCloseCallback) m_windowCloseCallback();
|
||||
if (m_windowCloseCallback)
|
||||
m_windowCloseCallback();
|
||||
glfwSetWindowShouldClose(m_mainWindow, true);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user