update icon, move to assets
This commit is contained in:
vecāks
0f6ebbc2d4
revīzija
d73e712df3
Bināro failu nav iespējams attēlot.
Pēc Platums: | Augstums: | Izmērs: 67 KiB |
Binārs
icon.png
Binārs
icon.png
Bināro failu nav iespējams attēlot.
Pirms Platums: | Augstums: | Izmērs: 8.9 KiB |
|
@ -92,7 +92,7 @@ void Application::init() {
|
|||
|
||||
GLFWimage icon;
|
||||
int n;
|
||||
icon.pixels = stbi_load("icon.png", &icon.width, &icon.height, &n, 4);
|
||||
icon.pixels = stbi_load("assets/icon.png", &icon.width, &icon.height, &n, 4);
|
||||
if (icon.pixels) {
|
||||
glfwSetWindowIcon(window, 1, &icon);
|
||||
stbi_image_free(icon.pixels);
|
||||
|
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā