diff options
Diffstat (limited to 'native/include/android/native_window.h')
-rw-r--r-- | native/include/android/native_window.h | 3 |
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); |