You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Remove redundant "== true" code
If it can be compared to a boolean, it can be evaluated as one in-place.
This commit is contained in:
@@ -408,7 +408,7 @@ static void engine_draw_frame(struct engine *engine) {
|
||||
// Just fill the screen with a color.
|
||||
//glClearColor(0,1,0,1);
|
||||
//glClear(GL_COLOR_BUFFER_BIT);
|
||||
if (engine->os && engine->os->main_loop_iterate() == true) {
|
||||
if (engine->os && engine->os->main_loop_iterate()) {
|
||||
|
||||
engine->requested_quit = true;
|
||||
return; //should exit instead
|
||||
|
||||
Reference in New Issue
Block a user