From 755e702536499608d1aa507456330fca3331db0d Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Thu, 21 Jun 2012 12:12:57 -0700 Subject: [PATCH] pixel-format-attribute was just (pixel-format-attribute) Rename the GENERIC: (pixel-format-attribute) to pixel-format-attribute ? --- basis/ui/backend/cocoa/cocoa.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/ui/backend/cocoa/cocoa.factor b/basis/ui/backend/cocoa/cocoa.factor index aed4741949..22fd11c82b 100644 --- a/basis/ui/backend/cocoa/cocoa.factor +++ b/basis/ui/backend/cocoa/cocoa.factor @@ -179,7 +179,7 @@ M: cocoa-ui-backend raise-window* ( world -- ) ] when* ; : pixel-size ( pixel-format -- size ) - color-bits pixel-format-attribute -3 shift ; + color-bits (pixel-format-attribute) -3 shift ; : offscreen-buffer ( world pixel-format -- alien w h pitch ) [ dim>> first2 ] [ pixel-size ] bi*