]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/opengl32/opengl32.factor
core: Add words/unwords/unwords-as and use them.
[factor.git] / basis / windows / opengl32 / opengl32.factor
index 5ddf7450b5f7cc484f4b9bbe3851d375ff1e3665..2b91aeffb80a0baaafab4bc651c3ab660ff6bf5b 100644 (file)
@@ -156,7 +156,7 @@ CONSTANT: WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
     "wglGetExtensionsStringARB" wglGetProcAddress >boolean ;
 
 : wgl-extensions ( hdc -- extensions )
-    has-wglGetExtensionsStringARB? [ wglGetExtensionsStringARB " " split ] [ drop { } ] if ;
+    has-wglGetExtensionsStringARB? [ wglGetExtensionsStringARB words ] [ drop { } ] if ;
 
 : has-wgl-extensions? ( hdc extensions -- ? )
     swap wgl-extensions [ member? ] curry all? ;