mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix texture paths for system-installed builds
* window icon * custom touchscreen checkbox sprites
This commit is contained in:
parent
25ef8f3934
commit
d71872af23
2 changed files with 2 additions and 2 deletions
|
@ -210,7 +210,7 @@ bool RenderingEngine::setupTopLevelWindow()
|
|||
bool RenderingEngine::setWindowIcon()
|
||||
{
|
||||
irr_ptr<video::IImage> img(driver->createImageFromFile(
|
||||
(porting::path_user + "/textures/base/pack/logo.png").c_str()));
|
||||
(porting::path_share + "/textures/base/pack/logo.png").c_str()));
|
||||
if (!img) {
|
||||
warningstream << "Could not load icon file." << std::endl;
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue