mojoshader_preprocessor.c
changeset 672 bcca8b3ae152
parent 658 22695d3d6b98
child 674 8ab124b33d3c
--- a/mojoshader_preprocessor.c	Thu Feb 19 03:58:14 2009 -0500
+++ b/mojoshader_preprocessor.c	Thu Feb 19 03:58:25 2009 -0500
@@ -362,6 +362,7 @@
 #define PUT_POOL(type, poolname) \
     static void put_##poolname(Context *ctx, type *item) { \
         item->next = ctx->poolname##_pool; \
+        ctx->poolname##_pool = item; \
     }
 
 #define IMPLEMENT_POOL(type, poolname) \