Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed memory pool code.
  • Loading branch information
icculus committed Feb 19, 2009
1 parent 8b0bcf9 commit cdda873
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader_preprocessor.c
Expand Up @@ -362,6 +362,7 @@ static void free_buffer(Buffer *buffer, MOJOSHADER_free f, void *d)
#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) \
Expand Down

0 comments on commit cdda873

Please sign in to comment.