[−][src]Function egls::apis::swap_buffers
pub fn swap_buffers(
display: EGLDisplay,
surface: EGLSurface
) -> Result<bool, Error>
Post EGL surface color buffer to a native window.
Parameters
display
- Specifies the EGL display connection.surface
- Specifies the EGL drawing surface whose buffers are to be swapped.