.
original commit: bc26d4845cb986dd220affc79fefe9d963a9e31b
This commit is contained in:
parent
b9aeba9a0c
commit
5323873cda
|
@ -3679,8 +3679,11 @@
|
||||||
style)))))
|
style)))))
|
||||||
(public
|
(public
|
||||||
[swap-gl-buffers (lambda () (send wx swap-buffers))]
|
[swap-gl-buffers (lambda () (send wx swap-buffers))]
|
||||||
[grab-gl-context (lambda () (send wx this-context-current))]
|
[with-gl-context (lambda (thunk)
|
||||||
[restore-gl-context (lambda () (send wx previous-context-current))]
|
(dynamic-wind
|
||||||
|
(lambda () (send wx this-context-current))
|
||||||
|
thunk
|
||||||
|
(lambda () (send wx previous-context-current))))]
|
||||||
|
|
||||||
[accept-tab-focus (entry-point
|
[accept-tab-focus (entry-point
|
||||||
(case-lambda
|
(case-lambda
|
||||||
|
|
Loading…
Reference in New Issue
Block a user