api/android: Implement missing `buffer_age()` function
This function, introduced in ("Add `buffer_age` method on
`WindowedContext`") was implemented for every platform and the EGL
API/backend, but not implemented on the Android platform.
@@ -152,6 +152,11 @@ impl Context {
self.0.egl_context.get_proc_address(addr)
}
+ #[inline]
+ pub fn buffer_age(&self) -> u32 {
+ self.0.egl_context.buffer_age()
+ }
+
#[inline]
pub fn swap_buffers(&self) -> Result<(), ContextError> {
if let Some(ref stopped) = self.0.stopped {
