From: Doug Coleman Date: Tue, 21 Dec 2021 05:38:29 +0000 (-0600) Subject: factor: fix using on windows. X-Git-Tag: 0.99~2170 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=4cb783731693a656afd74a90ac8266f08a696fd3 factor: fix using on windows. --- diff --git a/basis/windows/opengl32/opengl32.factor b/basis/windows/opengl32/opengl32.factor index 2b91aeffb8..2ea4de493c 100644 --- a/basis/windows/opengl32/opengl32.factor +++ b/basis/windows/opengl32/opengl32.factor @@ -156,7 +156,7 @@ CONSTANT: WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 "wglGetExtensionsStringARB" wglGetProcAddress >boolean ; : wgl-extensions ( hdc -- extensions ) - has-wglGetExtensionsStringARB? [ wglGetExtensionsStringARB words ] [ drop { } ] if ; + has-wglGetExtensionsStringARB? [ wglGetExtensionsStringARB split-words ] [ drop { } ] if ; : has-wgl-extensions? ( hdc extensions -- ? ) swap wgl-extensions [ member? ] curry all? ;