Skip to content

Consider always saving the rendering API name #37645

Open
@aaronfranke

Description

@aaronfranke

If you set a project to use GLES 2, this is saved in the project.godot file:

[rendering]

quality/driver/driver_name="GLES2"

However, this string is not saved with a GLES 3 project in Godot 3.2, or in a Vulkan project in the current master. I think it would make sense for this string to always be saved.

This would help with #31171, since we could use this information to show warnings in the project manager if the project is using an unsupported API, such as if the list of rendering APIs in Godot changes in the future (ex: Opening a 3.2 GLES 3 project in Godot 4.0), or if compiling for a platform without specific APIs (ex: We'd want to show warnings for Vulkan projects if you tried to open them on a possible future Raspberry Pi uh, non-Vulkan version of Godot).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions