minor tweaks (could not find app icon, and CMakeInstall directives)
This commit is contained in:
+2
-2
@@ -144,9 +144,9 @@ int main (int argc, char* argv[]) {
|
||||
// Load the icon
|
||||
Uint32 colorkey;
|
||||
SDL_Surface *image = NULL;
|
||||
image = SDL_LoadBMP("./data/textures/icon.bmp");
|
||||
image = SDL_LoadBMP(Engine::GetResourceFullPath("/data/textures/icon.bmp").c_str());
|
||||
if (!image)
|
||||
Engine::LogWarning("Could not load icon: ./data/textures/icon.bmp");
|
||||
Engine::LogWarning("Could not load icon: data/textures/icon.bmp");
|
||||
else
|
||||
SDL_WM_SetIcon(image,NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user