ANativeWindow_setBuffersGeometry now returns proper error codes

Change-Id: Iac59d513fa1d4a55b8378000714d344ef3e2e0a4
This commit is contained in:
Mathias Agopian
2011-03-31 20:59:58 -07:00
parent 616fb9a38a
commit da5a4440f0
2 changed files with 4 additions and 2 deletions

View File

@ -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);