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

Author Topic: SFML 2.0 image constructor  (Read 1549 times)

0 Members and 1 Guest are viewing this topic.

vidjogamer

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
SFML 2.0 image constructor
« on: March 12, 2011, 05:56:59 am »
In 1.6 you could do something like
sf::Image *image = new sf::Image(200,100,sf::Color(0,255,0));

how can you achieve this in 2.0?

Edit: Just found the sf::Image::Create() function. Looks like it will work.

 

anything