Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sf::Image::getPixel()/setPixel() validity  (Read 17904 times)

0 Members and 2 Guests are viewing this topic.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: sf::Image::getPixel()/setPixel() validity
« Reply #30 on: June 27, 2015, 04:49:20 pm »
I agree with closing the PR; I don't think there's any meaningful thing to change right now.

Hiding user errors by returning arbitrary colors is clearly out of question. The assertions can be discussed again at a later stage, but then library-wide, not only for this specific example.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: sf::Image::getPixel()/setPixel() validity
« Reply #31 on: June 27, 2015, 07:29:31 pm »
+1 to that
SFML / OS X developer