massung / r-cade

Retro Game Engine for Racket
https://r-cade.io
Other
273 stars 13 forks source link

App is not responding due to the disabled shader #29

Open schizotypique opened 3 years ago

schizotypique commented 3 years ago

If #: shader #f and the window is inactive for some time, then the application will "is not responding..." If #: shader #t this does not happen.

gif: app

massung commented 3 years ago

I assume you are running the first intro tutorial:

#lang racket
(require r-cade)

(define (game-loop)
  (cls)
  (text 2 2 (frame)))

(run game-loop 128 128 #:shader #f)

This works perfectly fine for me on Racket 8.0 [cs], 64-bit, Window 10. Which versions are you running on?

schizotypique commented 3 years ago

Racket 8.0 [bc], 32-bit, Windows 7. Perhaps this is also due to my weak video card (Intel HD Graphics), because when the shader is enabled, I have a lot of freezes, especially when resizing the window. That's why I turn off the shader, but it crashes the app. 0