Use OpenGL 3.3 core profile instead of compatibility profile
- Rename OpenGL to GLES3 in the source code per community feedback.
- The renderer is still exposed as "OpenGL 3" to the user.
- Hide renderer selection dropdown until OpenGL support is more mature.
- The renderer can still be changed in the Project Settings or using
the `--rendering-driver opengl` command line argument.
- Remove commented out exporter code.
- Remove some OpenGL/DisplayServer-related debugging prints.
This commit is contained in:
parent
ce97ddbcb1
commit
8a10bb7d0d
83 changed files with 2155 additions and 8187 deletions
|
|
@ -129,7 +129,7 @@ void RendererViewport::_draw_viewport(Viewport *p_viewport) {
|
|||
timestamp_vp_map[rt_id] = p_viewport->self;
|
||||
}
|
||||
|
||||
if (OS::get_singleton()->get_current_rendering_driver_name() == "opengl") {
|
||||
if (OS::get_singleton()->get_current_rendering_driver_name() == "opengl3") {
|
||||
// This is currently needed for GLES to keep the current window being rendered to up to date
|
||||
DisplayServer::get_singleton()->gl_window_make_current(p_viewport->viewport_to_screen);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue