I've been playing around with SDL2 and have made a very nifty little program! Now, I'm trying to set my window icon - for the SDL Window. I have the following code in the main function of my program, right after SDL initialization stuff.
SDL_Surface* icon = IMG_Load("assets/system/interface/icon.png"); SDL_SetWindowIcon(window, icon);
However, the topbar icon and the toolbar icon remain the same, default application icon! What could I be doing wrong???