summaryrefslogtreecommitdiffstats
path: root/native/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-03-31 20:59:58 -0700
committerMathias Agopian <mathias@google.com>2011-03-31 20:59:58 -0700
commitda5a4440f019074e7aa61c5531c5c61755adc44d (patch)
treeacff4b9a3239978abe7033d56a182059d97e8725 /native/include
parent616fb9a38a5b558b1245b0e7f6dc0c4e5ef1a985 (diff)
downloadframeworks_base-da5a4440f019074e7aa61c5531c5c61755adc44d.zip
frameworks_base-da5a4440f019074e7aa61c5531c5c61755adc44d.tar.gz
frameworks_base-da5a4440f019074e7aa61c5531c5c61755adc44d.tar.bz2
ANativeWindow_setBuffersGeometry now returns proper error codes
Change-Id: Iac59d513fa1d4a55b8378000714d344ef3e2e0a4
Diffstat (limited to 'native/include')
-rw-r--r--native/include/android/native_window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/native/include/android/native_window.h b/native/include/android/native_window.h
index f3d7550..337fa96 100644
--- a/native/include/android/native_window.h
+++ b/native/include/android/native_window.h
@@ -95,6 +95,9 @@ int32_t ANativeWindow_getFormat(ANativeWindow* window);
*
* For all of these parameters, if 0 is supplied then the window's base
* value will come back in force.
+ *
+ * width and height must be either both zero or both non-zero.
+ *
*/
int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);