Browse Source

update icon, move to assets

master
Gero Müller 1 year ago
parent
commit
d73e712df3
3 changed files with 1 additions and 1 deletions
  1. BIN
      assets/icon.png
  2. BIN
      icon.png
  3. 1
    1
      src/Application.cpp

BIN
assets/icon.png View File


BIN
icon.png View File


+ 1
- 1
src/Application.cpp View File

@@ -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);

Loading…
Cancel
Save