Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Window icon was ignoring base_path.

  • Loading branch information...
commit 59d81603a82ac32a2591dac305b509a8278f928e 1 parent cf998d4
@henriquegemignani henriquegemignani authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/ugdk/base/engine.cc
View
4 src/ugdk/base/engine.cc
@@ -39,8 +39,10 @@ bool Engine::Initialize(const Configuration& configuration) {
path_manager_ = new PathManager(configuration.base_path);
resource_manager_ = new base::ResourceManager();
language_manager_ = new LanguageManager(configuration.default_language);
+
+ std::string icon_path = (configuration.window_icon.length() > 0) ? path_manager_->ResolvePath(configuration.window_icon) : "";
- video_manager_->Initialize(configuration.window_title, configuration.window_size, configuration.fullscreen, configuration.window_icon);
+ video_manager_->Initialize(configuration.window_title, configuration.window_size, configuration.fullscreen, icon_path);
audio_manager_->Initialize();
text_manager_->Initialize();
Please sign in to comment.
Something went wrong with that request. Please try again.