[−][src]Function egls::apis::make_current
pub fn make_current(
display: EGLDisplay,
draw: EGLSurface,
read: EGLSurface,
ctx: EGLContext
) -> Result<bool, Error>
Attach an EGL rendering context to EGL surfaces.
Parameters
display
- Specifies the EGL display connection.draw
- Specifies the EGL draw surface.read
- Specifies the EGL read surface.context
- Specifies the EGL rendering context to be attached to the surfaces.