Use angle::Result in front-end (Part 2)
Handles the gl::Context class and its implementation.
Bug: angleproject:2491
Change-Id: I7b7eb0897d131a194f6b563b7e01756fd7adb7e1
Reviewed-on: https://chromium-review.googlesource.com/c/1280742
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
diff --git a/src/libANGLE/Context.cpp b/src/libANGLE/Context.cpp
index b30a8b3..5c8462b 100644
--- a/src/libANGLE/Context.cpp
+++ b/src/libANGLE/Context.cpp
@@ -690,8 +690,9 @@
}
}
- // Notify the renderer of a context switch
- ANGLE_TRY(mImplementation->onMakeCurrent(this));
+ // Notify the renderer of a context switch.
+ // TODO(jmadill): Fix this error handling. http://anglebug.com/2491
+ (void)(mImplementation->onMakeCurrent(this));
return egl::NoError();
}