Skip to content

Commit

Permalink
Immediatly change the icon :(
Browse files Browse the repository at this point in the history
  • Loading branch information
JustDoom committed Mar 28, 2024
1 parent c01cc46 commit cb34971
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int main(int argc, char **argv) {
sf::RenderWindow window(sf::VideoMode(640, 480), "8ChocChip - Chip8 Emulator");
sf::Image icon;
icon.loadFromFile("../assets/icon.png");
window.setIcon(128, 128, icon.getPixelsPtr());
window.setIcon(64, 64, icon.getPixelsPtr());

TextButton button(300, 200, 200, 80, "Select ROM");

Expand Down

0 comments on commit cb34971

Please sign in to comment.