summaryrefslogtreecommitdiffstats
path: root/platform/android/godot_android.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-10-07 10:58:45 +0200
committerGitHub <noreply@github.com>2018-10-07 10:58:45 +0200
commit44d82b3a070b7ed8973d9e8bc6e58da1084fc7d1 (patch)
tree544ab66de3ef4c6a20f2739decc4e98212c3207a /platform/android/godot_android.cpp
parentc27b2adb10ea7077008d4f8b356e3561d05bad6a (diff)
parent4f7b33cdcfdcbc11bcc506018dff1b06db3cf3f6 (diff)
downloadredot-engine-44d82b3a070b7ed8973d9e8bc6e58da1084fc7d1.tar.gz
Merge pull request #22752 from aaronfranke/equals-redundant
Remove redundant "== true" and "== false" code
Diffstat (limited to 'platform/android/godot_android.cpp')
-rw-r--r--platform/android/godot_android.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/godot_android.cpp b/platform/android/godot_android.cpp
index 54692dc831..c46c6f7804 100644
--- a/platform/android/godot_android.cpp
+++ b/platform/android/godot_android.cpp
@@ -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