June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -32,7 +32,7 @@
|
|||
(define/override (on-paint)
|
||||
(with-gl-context (λ() (draw-opengl) (swap-gl-buffers))))
|
||||
(define/override (on-size width height)
|
||||
(with-gl-context (λ() (resize width height))))
|
||||
(with-gl-context (λ() (resize width height) (on-paint))))
|
||||
(super-instantiate () (style '(gl)))))
|
||||
|
||||
(define win (new frame% [label "Racket Rosetta Code OpenGL example"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue