update icon, move to assets
This commit is contained in:
bovenliggende
0f6ebbc2d4
commit
d73e712df3
Binair bestand niet weergegeven.
Na Breedte: | Hoogte: | Grootte: 67 KiB |
BIN
icon.png
BIN
icon.png
Binair bestand niet weergegeven.
Voor Breedte: | Hoogte: | Grootte: 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);
|
||||
|
|
Laden…
Verwijs in nieuw issue