]> gitweb.factorcode.org Git - factor.git/commitdiff
factor: fix using on windows.
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 21 Dec 2021 05:38:29 +0000 (23:38 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 21 Dec 2021 05:38:29 +0000 (23:38 -0600)
basis/windows/opengl32/opengl32.factor

index 2b91aeffb80a0baaafab4bc651c3ab660ff6bf5b..2ea4de493c062732fc8fa43531f899f5bdffc2e9 100644 (file)
@@ -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? ;