using VS 2008 + SVN version...its been awhile since ive used SFML
im getting a debug assertation, but im pretty sure im using the code right
i load the image here in the header file
int LoadImages()
{
if (!Opening.LoadFromFile("C:/Jeopardy/Other/Opening.jpg"))
return EXIT_FAILURE;
wrap up the function in the same file
int Load()
{
LoadImages();
then assign the image to a sprite in the main .cpp file
int main()
{
sf::RenderWindow App(sf::VideoMode(800, 600, 32), "Jeopardy!", sf::Style::Fullscreen);
Load();
OpeningImage.SetImage(Opening);
and display it after the event loop
App.Clear();
App.Draw(OpeningImage);
App.Display();
what am i doing wrong?