Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6046

Pygame, no ScreenUpdates via pygame.display.update(rect_list) after game was moved to background?

$
0
0

Using: pygame 2.5.2 (SDL 2.28.2, Python 3.10.12) on Ubuntu 22.04.4 LTS

My pygame app, which is running with the .set_mode flags FULLSCREEN and NOFRAME, is updating the screen via pygame.display,update(rect_list).After moving the app into the background and getting it back in front the screen isn't updated anymore.

Using pygame.display,update() or pygame.display.flip() will keep the updates running.

This behaviour is not showing without the above posted flags.

Runnnig the same code on a RaspberryPI isn't showing this behaviour

Is this behaviour known/correct?


Viewing all articles
Browse latest Browse all 6046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>