diff --git a/addons/gdcef/gdcef/src/gdbrowser.hpp b/addons/gdcef/gdcef/src/gdbrowser.hpp index efc843c..141187c 100644 --- a/addons/gdcef/gdcef/src/gdbrowser.hpp +++ b/addons/gdcef/gdcef/src/gdbrowser.hpp @@ -48,13 +48,6 @@ # endif # endif -// Godot 3 -//# include "Godot.hpp" -//# include "GDScript.hpp" -//# include "Node.hpp" -//# include "ImageTexture.hpp" -//# include "GlobalConstants.hpp" - // Godot 4 # include "godot.hpp" # include "gd_script.hpp" diff --git a/addons/gdcef/gdcef/src/gdcef.hpp b/addons/gdcef/gdcef/src/gdcef.hpp index b9a51e8..2e9722e 100644 --- a/addons/gdcef/gdcef/src/gdcef.hpp +++ b/addons/gdcef/gdcef/src/gdcef.hpp @@ -27,9 +27,7 @@ # define GDCEF_HPP // ***************************************************************************** -//! \file Wrap Chromium Embedded Framework (that can be find at -//! $WORKSPACE_STIGMEE/godot/gdnative/browser/thirdparty/cef_binary) as Godot -//! native module +//! \file Wrap Chromium Embedded Framework as Godot native module. // ***************************************************************************** // Hide compilation warnings induced by Godot and by CEF @@ -54,13 +52,6 @@ # endif # endif -// Godot 3 -//# include "Godot.hpp" -//# include "ProjectSettings.hpp" -//# include "OS.hpp" -//# include "Node.hpp" -//# include "ImageTexture.hpp" - // Godot 4 # include "godot.hpp" # include "project_settings.hpp" diff --git a/addons/gdcef/subprocess/src/main.hpp b/addons/gdcef/subprocess/src/main.hpp index 2481d99..a97d901 100644 --- a/addons/gdcef/subprocess/src/main.hpp +++ b/addons/gdcef/subprocess/src/main.hpp @@ -170,7 +170,7 @@ class GDCefBrowser : public CefApp, // Create the first browser window. std::cout << "[SubProcess] [GDCefBrowser::OnContextInitialized] Create the browser" << std::endl; - CefBrowserHost::CreateBrowser(window_info, handler.get(), "https://mediatheque.stigmee.fr", + CefBrowserHost::CreateBrowser(window_info, handler.get(), "https://github.com/Lecrapouille/gdcef", browser_settings, nullptr, nullptr); }