You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
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:
@@ -1498,7 +1498,7 @@ String EditorExportPlatform::test_etc2() const {
|
||||
bool etc_supported = ProjectSettings::get_singleton()->get("rendering/textures/vram_compression/import_etc");
|
||||
bool etc2_supported = ProjectSettings::get_singleton()->get("rendering/textures/vram_compression/import_etc2");
|
||||
|
||||
if (driver == "OpenGL" && !etc_supported) {
|
||||
if (driver == "OpenGL3" && !etc_supported) {
|
||||
return TTR("Target platform requires 'ETC' texture compression for OpenGL. Enable 'Import Etc' in Project Settings.");
|
||||
} else if (driver == "Vulkan" && !etc2_supported) {
|
||||
// FIXME: Review if this is true for Vulkan.
|
||||
@@ -1515,7 +1515,7 @@ String EditorExportPlatform::test_etc2_or_pvrtc() const {
|
||||
// bool etc2_supported = ProjectSettings::get_singleton()->get("rendering/textures/vram_compression/import_etc2");
|
||||
// bool pvrtc_supported = ProjectSettings::get_singleton()->get("rendering/textures/vram_compression/import_pvrtc");
|
||||
|
||||
if (driver == "OpenGL" && !pvrtc_supported) {
|
||||
if (driver == "OpenGL3" && !pvrtc_supported) {
|
||||
return TTR("Target platform requires 'PVRTC' texture compression for OpenGL. Enable 'Import Pvrtc' in Project Settings.");
|
||||
} else if (driver == "Vulkan" && !etc2_supported && !pvrtc_supported) {
|
||||
// FIXME: Review if this is true for Vulkan.
|
||||
|
||||
Reference in New Issue
Block a user