summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-02-25 15:35:40 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-02-25 15:35:40 +0200
commit73001513015f3dcbcd9172ee3bc4686a1e983bcb (patch)
treec22b94cb38d6cadba1ea2bee87a1b972579a0d5b
parent3d92e1bae87199337cc4b7778a86dee24aed42a5 (diff)
android: Don't assert all params
This function is not very well documented.
-rw-r--r--src/libandroid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libandroid.c b/src/libandroid.c
index c8bafa9..e03bc9d 100644
--- a/src/libandroid.c
+++ b/src/libandroid.c
@@ -508,7 +508,7 @@ ANativeWindow_setBuffersGeometry(struct ANativeWindow *window, int32_t width, in
int32_t
ANativeWindow_lock(struct ANativeWindow *window, struct ANativeWindow_Buffer *outBuffer, struct ARect *inOutDirtyBounds)
{
- assert(window && outBuffer && inOutDirtyBounds);
+ assert(window);
return 0;
}