]> gitweb.factorcode.org Git - factor.git/commitdiff
gpu.buffers: fix stack effect of with-mapped-buffer
authorJoe Groff <arcata@gmail.com>
Mon, 26 Oct 2009 18:53:33 +0000 (13:53 -0500)
committerJoe Groff <arcata@gmail.com>
Mon, 26 Oct 2009 18:53:33 +0000 (13:53 -0500)
extra/gpu/buffers/buffers.factor

index 3de5a03d3502cb7e0de117713c862c62b3b9e8e4..351a8b39b0c9432e8082cedeb3a4deef19ac3451 100644 (file)
@@ -124,7 +124,7 @@ UNION: gpu-data-ptr buffer-ptr c-ptr ;
 
     quot call
 
-    target glUnmapBuffer ; inline
+    target glUnmapBuffer drop ; inline
 
 :: with-bound-buffer ( buffer target quot: ( -- ) -- )
     target gl-target buffer glBindBuffer