diff options
Diffstat (limited to 'cogl/cogl-journal.c')
-rw-r--r-- | cogl/cogl-journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-journal.c b/cogl/cogl-journal.c index 51d859e1..aa45acb9 100644 --- a/cogl/cogl-journal.c +++ b/cogl/cogl-journal.c @@ -1040,7 +1040,7 @@ create_attribute_buffer (CoglJournal *journal, really any point in using the pool so we'll just allocate the buffer directly */ if (!(ctx->private_feature_flags & COGL_PRIVATE_FEATURE_VBOS)) - return cogl_attribute_buffer_new (ctx, n_bytes, NULL); + return cogl_attribute_buffer_new_with_size (ctx, n_bytes); vbo = journal->vbo_pool[journal->next_vbo_in_pool]; |