The Valgrind output is ok, don't worry about it.
The debugger output would be more helpful
I'm using sfml2.
Which revision?
on archlinux, sfml 1.99.git20110616-1 which is just a snapshot taken on the date in the version
after putting a breakpoint on the draw function, I did the following:
I don't understand why titleSprite is an incomplete type.
print gamevars
$1 = {titleSprite = <incomplete type>, titleImage = {<sf::Resource<sf::Image>> = {myObservers = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<sf::ResourcePtr<sf::Image>*> >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<sf::ResourcePtr<sf::Image>*> >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<sf::ResourcePtr<sf::Image>*, sf::ResourcePtr<sf::Image>*, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red,
_M_parent = 0xc70270, _M_left = 0xc70270, _M_right = 0xc70270}, _M_node_count = 1}}}, myMutex = {<sf::NonCopyable> = {<No data fields>},
myMutexImpl = 0x604110}}, <sf::GlResource> = {<No data fields>}, myWidth = 320, myHeight = 200, myTextureWidth = 320, myTextureHeight = 200, myTexture = 1, myIsSmooth = false,
myPixels = {<std::_Vector_base<unsigned char, std::allocator<unsigned char> >> = {
_M_impl = {<std::allocator<unsigned char>> = {<__gnu_cxx::new_allocator<unsigned char>> = {<No data fields>}, <No data fields>}, _M_start = 0x7ffff7f76010 "", _M_finish = 0x7ffff7fb4810 "",
_M_end_of_storage = 0x7ffff7fb4810 ""}}, <No data fields>}, myTextureUpdated = false, myArrayUpdated = true, myPixelsFlipped = false}}