]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/images/loader/gdiplus/gdiplus.factor
basis: ERROR: changes.
[factor.git] / basis / images / loader / gdiplus / gdiplus.factor
index 6ed16ba3c3cf09684649d1b7add51ba15de5cf01..de87bf87c9aa3ac097f32e2adb5eb1a113a89a71 100644 (file)
@@ -58,7 +58,7 @@ os windows? [
 ERROR: unsupported-pixel-format component-order ;
 
 : check-pixel-format ( image -- )
-    component-order>> dup BGRA = [ drop ] [ unsupported-pixel-format ] if ;
+    component-order>> dup BGRA = [ drop ] [ throw-unsupported-pixel-format ] if ;
 
 : image>gdi+-bitmap ( image -- bitmap )
     dup check-pixel-format