Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
SFML 2.0 image constructor
Print
Pages: [
1
]
Author
Topic: SFML 2.0 image constructor (Read 1918 times)
0 Members and 1 Guest are viewing this topic.
vidjogamer
Jr. Member
Posts: 67
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.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
SFML 2.0 image constructor
anything