Loading native/android/native_window.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -58,8 +58,8 @@ int32_t ANativeWindow_getFormat(ANativeWindow* window) { } int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height) { native_window_set_buffers_geometry(window, width, height, 0); int32_t height, int32_t format) { native_window_set_buffers_geometry(window, width, height, format); return 0; } Loading native/include/android/native_window.h +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ 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. */ int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height); int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format); /** * Lock the window's next drawing surface for writing. Loading Loading
native/android/native_window.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -58,8 +58,8 @@ int32_t ANativeWindow_getFormat(ANativeWindow* window) { } int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height) { native_window_set_buffers_geometry(window, width, height, 0); int32_t height, int32_t format) { native_window_set_buffers_geometry(window, width, height, format); return 0; } Loading
native/include/android/native_window.h +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ 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. */ int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height); int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format); /** * Lock the window's next drawing surface for writing. Loading