Thanks to everyone who give advice. Is was cron DISPLAY variable problem. library like SFML should interact with GUI display but cron didn't in default state. So I change my cron to
DISPLAY=:0
XDG_RUNTIME_DIR=/run/user/(number from id -u)
***** /path/of/script