Constant VIDEO_FORCE_EGL

pub const VIDEO_FORCE_EGL: &'static str;
Available on crate feature dep_sdl3 only.
Expand description

A variable controlling whether the OpenGL context should be created with EGL.

The variable can be set to the following values:

  • “0”: Use platform-specific GL context creation API (GLX, WGL, CGL, etc). (default)
  • “1”: Use EGL

This hint should be set before SDL is initialized.

§Availability

This hint is available since SDL 3.2.0.