Browse Source

update icon, move to assets

master
Gero Müller 4 years ago
parent
commit
d73e712df3
  1. BIN
      assets/icon.png
  2. BIN
      icon.png
  3. 2
      src/Application.cpp

BIN
assets/icon.png

After

Width: 256  |  Height: 256  |  Size: 67 KiB

BIN
icon.png

Before

Width: 103  |  Height: 103  |  Size: 8.9 KiB

2
src/Application.cpp

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