You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Make some editor export methods const
This commit is contained in:
@@ -1671,7 +1671,7 @@ Vector<String> EditorExportPlatformAndroid::get_enabled_abis(const Ref<EditorExp
|
||||
return enabled_abis;
|
||||
}
|
||||
|
||||
void EditorExportPlatformAndroid::get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) {
|
||||
void EditorExportPlatformAndroid::get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) const {
|
||||
String driver = ProjectSettings::get_singleton()->get("rendering/driver/driver_name");
|
||||
if (driver == "opengl3") {
|
||||
r_features->push_back("etc");
|
||||
@@ -3109,7 +3109,7 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref<EditorExportP
|
||||
CLEANUP_AND_RETURN(OK);
|
||||
}
|
||||
|
||||
void EditorExportPlatformAndroid::get_platform_features(List<String> *r_features) {
|
||||
void EditorExportPlatformAndroid::get_platform_features(List<String> *r_features) const {
|
||||
r_features->push_back("mobile");
|
||||
r_features->push_back("android");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user