Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp
This commit is contained in:
@ -312,11 +312,11 @@ Error AudioDriverPulseAudio::init() {
|
||||
|
||||
String context_name;
|
||||
if (Engine::get_singleton()->is_editor_hint()) {
|
||||
context_name = VERSION_NAME " Editor";
|
||||
context_name = GODOT_VERSION_NAME " Editor";
|
||||
} else {
|
||||
context_name = GLOBAL_GET("application/config/name");
|
||||
if (context_name.is_empty()) {
|
||||
context_name = VERSION_NAME " Project";
|
||||
context_name = GODOT_VERSION_NAME " Project";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -686,8 +686,8 @@ Error RenderingContextDriverVulkan::_initialize_instance() {
|
||||
VkApplicationInfo app_info = {};
|
||||
app_info.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
|
||||
app_info.pApplicationName = cs.get_data();
|
||||
app_info.pEngineName = VERSION_NAME;
|
||||
app_info.engineVersion = VK_MAKE_VERSION(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
|
||||
app_info.pEngineName = GODOT_VERSION_NAME;
|
||||
app_info.engineVersion = VK_MAKE_VERSION(GODOT_VERSION_MAJOR, GODOT_VERSION_MINOR, GODOT_VERSION_PATCH);
|
||||
app_info.apiVersion = application_api_version;
|
||||
|
||||
TightLocalVector<const char *> enabled_layer_names;
|
||||
|
||||
Reference in New Issue
Block a user