From 9e32cce5ed6c21d2e86481aa652b7a8fdc64e9b3 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Fri, 19 Jan 2018 15:09:48 -0800 Subject: [PATCH] cap: use find-gl-context. --- extra/cap/cap.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/cap/cap.factor b/extra/cap/cap.factor index 9f633455b7..42139db359 100644 --- a/extra/cap/cap.factor +++ b/extra/cap/cap.factor @@ -12,7 +12,7 @@ IN: cap [ gl-scale ] bi@ * >fixnum ; : gl-screenshot ( gadget -- byte-array ) - [ find-world handle>> select-gl-context ] + [ find-gl-context ] [ [ GL_BACK glReadBuffer