summaryrefslogtreecommitdiff
path: root/modules/gdnative/gdnative.cpp
diff options
context:
space:
mode:
authorThomas Herzog <karroffel@users.noreply.github.com>2017-04-11 02:25:18 +0200
committerGitHub <noreply@github.com>2017-04-11 02:25:18 +0200
commit09ed1113fa78d31c72341c2b3550e554e728b1f3 (patch)
treecd0a676617c3d8d92994e0cb93bd948d6f3503f0 /modules/gdnative/gdnative.cpp
parent200c84b6b2c7557d83ec9f22fa4e995e5fc08167 (diff)
parent544940c1752d3b3b567a21c8753a7089beea4156 (diff)
Merge pull request #8352 from karroffel/gdnative-misc-fixes
[GDNative] misc fixes
Diffstat (limited to 'modules/gdnative/gdnative.cpp')
-rw-r--r--modules/gdnative/gdnative.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gdnative/gdnative.cpp b/modules/gdnative/gdnative.cpp
index f646060d49..b543a486d3 100644
--- a/modules/gdnative/gdnative.cpp
+++ b/modules/gdnative/gdnative.cpp
@@ -77,11 +77,9 @@ Error NativeLibrary::initialize(NativeLibrary *&p_native_lib, const StringName p
godot_native_init_options options;
options.in_editor = SceneTree::get_singleton()->is_editor_hint();
- /*
options.core_api_hash = ClassDB::get_api_hash(ClassDB::API_CORE);
options.editor_api_hash = ClassDB::get_api_hash(ClassDB::API_EDITOR);
options.no_api_hash = ClassDB::get_api_hash(ClassDB::API_NONE);
- */
library_init_fpointer(&options); // Catch errors?