0 Members and 3 Guests are viewing this topic.
// Load and apply Icon sf::Image icon; if (!image.LoadFromFile("opendarkcore.png")) return EXIT_FAILURE; window.sf::Window::SetIcon(icon.GetWidth(), icon.GetHeight(), icon.GetPixelsPtr()); // END of setting Icon
Trying to access the pixels of an empty imageX Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 53 (X_CreatePixmap) Value in failed request: 0x0 Serial number of failed request: 55 Current serial number in output stream: 61