]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/gpu/state/state.factor
use radix literals
[factor.git] / extra / gpu / state / state.factor
index d92a04d30861bcc40451629ed91a5d381d6aa073..0f2ce7cb46e18c7c70cb8b1c2a54265e9d98c14c 100755 (executable)
@@ -36,7 +36,7 @@ VARIANT: stencil-op
 
 TUPLE: stencil-mode
     { value integer initial: 0 read-only }
-    { mask integer initial: HEX: FFFFFFFF read-only }
+    { mask integer initial: 0xFFFFFFFF read-only }
     { comparison comparison initial: cmp-always read-only }
     { stencil-fail-op stencil-op initial: op-keep read-only }
     { depth-fail-op stencil-op initial: op-keep read-only }
@@ -88,8 +88,8 @@ C: <blend-state> blend-state
 TUPLE: mask-state
     { color sequence initial: { t t t t } read-only }
     { depth boolean initial: t read-only }
-    { stencil-front integer initial: HEX: FFFFFFFF read-only }
-    { stencil-back integer initial: HEX: FFFFFFFF read-only } ;
+    { stencil-front integer initial: 0xFFFFFFFF read-only }
+    { stencil-back integer initial: 0xFFFFFFFF read-only } ;
 C: <mask-state> mask-state
 
 VARIANT: triangle-face