1
Graphics / My program freezing when framerate is to low.
« on: March 11, 2023, 10:24:49 pm »
Hi, i wrote simple program in sfml to show how sorting algorithms works on rectangle objects. Now program is working too fast to see each move and the main reason for build this program is still missing. How can i slow displaying changes on the screen without freeze? I am working with bubble sort. Here is link to my github.
GraficznePrzedstawienieAlgorytm-wSortuj-cych -> bubbleSort.cpp
https://github.com/WojtekTomekCzubak/GraficznePrzedstawienieAlgorytm-wSortuj-cych
I also post this problem on StackOverflow: https://stackoverflow.com/questions/75705499/how-can-i-slow-displaying-changes-in-sfml-program
GraficznePrzedstawienieAlgorytm-wSortuj-cych -> bubbleSort.cpp
https://github.com/WojtekTomekCzubak/GraficznePrzedstawienieAlgorytm-wSortuj-cych
I also post this problem on StackOverflow: https://stackoverflow.com/questions/75705499/how-can-i-slow-displaying-changes-in-sfml-program