Zardoz89 / dcpu_vm

Another DCPU-16 Virtual Machine
http://zardoz89.github.io/dcpu_vm/
MIT License
6 stars 2 forks source link

Wrong refresh rendering #5

Closed lamogui closed 11 years ago

lamogui commented 11 years ago

Yep, cause : the updatescreen function is not called by tick but by main loop. Proposition : Monitor have their own sf::Image as member (no need allocation) updateScreen must be an internal function that only update the sf::Image and getScreen function return the sf::Image ptr.

Zardoz89 commented 11 years ago

I just see that you did it. I think that isn't a bad idea. It's better that was doing previous, but :