]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/opengl/textures/textures.factor
core: Add the shuffler words but without primitives.
[factor.git] / basis / opengl / textures / textures.factor
index 0accf6f846ad5fb8fb898025988f7e0ae41b4463..da08270c4a2c2f8d5f85df7cb0a6244be972d7d3 100644 (file)
@@ -290,7 +290,7 @@ TUPLE: single-texture < disposable image dim loc texture-coords texture display-
 : tex-sub-image ( image -- )
     [ GL_TEXTURE_2D 0 0 0 ] dip
     [ dim>> first2 ]
-    [ image-format [ drop ] 2dip ]
+    [ image-format nipd ]
     [ bitmap>> ] tri
     glTexSubImage2D ;