1
System / Re: threads and windows
« on: May 31, 2012, 04:22:47 am »
The peaks are gone.. adding "sf::sleep(sf::milliseconds(10));" at the end of the main loop seems to work.. maybe i've done a mistake in previous tests..
One problem remains:
If I close the program i get a segmentation fault in my graphics driver at cleanup.
I implemented a X11 version (still using SFML for OpenGL context):
http://pastebin.com/tRyDhkUd
I get a segmentation fault too.. Is it possible that there is a bug inside the driver (it's the official one from AMD). Since I do nothing special, the problem is somewhere in SFML or my code, i think..
Is it worth trying to fix this?
Maybe I try to do everything without SFML, just for finding the root of the problem..
One problem remains:
If I close the program i get a segmentation fault in my graphics driver at cleanup.
I implemented a X11 version (still using SFML for OpenGL context):
http://pastebin.com/tRyDhkUd
I get a segmentation fault too.. Is it possible that there is a bug inside the driver (it's the official one from AMD). Since I do nothing special, the problem is somewhere in SFML or my code, i think..
Is it worth trying to fix this?
Maybe I try to do everything without SFML, just for finding the root of the problem..