cap: use find-gl-context.

factor-shell
John Benediktsson 2018-01-19 15:09:48 -08:00
parent 07e6e5e949
commit 9e32cce5ed
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ IN: cap
[ gl-scale ] bi@ * >fixnum <byte-array> ;
: gl-screenshot ( gadget -- byte-array )
[ find-world handle>> select-gl-context ]
[ find-gl-context ]
[
[
GL_BACK glReadBuffer