SFML community forums
Help => General => Topic started by: Henrik.Flink on January 07, 2008, 09:50:16 pm
-
Is it possible to use the graphics pac without using a renderwindow, i just want the feature to create new images and not render anything att all, just a console window?
-
Yep, there's no problem to use only the classes you need. No class is dependent of another to be able to work properly.
-
Hmm just a side question, when i try to create an image i get these errors 7 times on different rows:
An internal OpenGL call failed in image.cpp (448) : GL_INVALID_OPERATION, the specified operation is not allowed in the current state
The Code:
sf::image world_image;
world_image.Create( xSize, ySize, sf::Color( 255,0,0 ) );
-
What's the values of xSize and ySize ? Which version of SFML are you using ?
-
x & y size are 32 and im using sfml 1.2
-
Which revision of the sources ?
-
oh i ment 1.1