fix priority of refresh for SGL example
While it looks this example was always broken in a sense, the `racket/gui' make the problem more prominent. Closes PR 12662
This commit is contained in:
parent
5c7a299c04
commit
2785f9cf9a
|
@ -70,7 +70,7 @@
|
||||||
(set! init? #t))
|
(set! init? #t))
|
||||||
(gl-draw)
|
(gl-draw)
|
||||||
(swap-gl-buffers)))
|
(swap-gl-buffers)))
|
||||||
(refresh))
|
(queue-callback (lambda () (refresh)) #f))
|
||||||
|
|
||||||
(define/override (on-size w h)
|
(define/override (on-size w h)
|
||||||
(with-gl-context
|
(with-gl-context
|
||||||
|
|
Loading…
Reference in New Issue
Block a user