You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
While working with features which are only present on OpenGL, but not ES, I wondered why OpenGL ES was used on my desktop PC. This also seems to only be the case on Linux, as on Windows OpenGL is used.
Describe the solution you'd like
Changing khronos_egl::OPENGL_ES_API to khronos_egl::OPENGL_API. But I don't know if there are any implications with it. According to the documentation if this operation fails the rendering api will not be changed. (therefore the default OPENGL_ES_API will be used)
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
While working with features which are only present on OpenGL, but not ES, I wondered why OpenGL ES was used on my desktop PC. This also seems to only be the case on Linux, as on Windows OpenGL is used.
After looking up how OpenGL profiles work, I found that
egl.bind_api(khronos_egl::OPENGL_ES_API).unwrap();
in https://github.com/gfx-rs/wgpu/blob/trunk/wgpu-hal/src/gles/egl.rs#L529 is called.Describe the solution you'd like
Changing
khronos_egl::OPENGL_ES_API
tokhronos_egl::OPENGL_API
. But I don't know if there are any implications with it. According to the documentation if this operation fails the rendering api will not be changed. (therefore the defaultOPENGL_ES_API
will be used)Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: