~darkxst/ubuntu/raring/cogl/lp1163025

« back to all changes in this revision

Viewing changes to cogl/cogl-attribute-buffer.c

  • Committer: Package Import Robot
  • Author(s): Sjoerd Simons
  • Date: 2012-09-25 10:07:06 UTC
  • mfrom: (1.1.8) (2.2.5 experimental)
  • Revision ID: package-import@ubuntu.com-20120925100706-9ti50bdo92r587dh
Tags: 1.12.0-1
* New upstream release
* debian/patches/03_select_default_renderer_driver.patch:
  + Dropped, merged upstream
* debian/patches/04_fix_crash_on_free.patch:
  + Dropped, merged upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
CoglAttributeBuffer *
42
42
cogl_attribute_buffer_new (CoglContext *context,
43
 
                           gsize bytes,
 
43
                           size_t bytes,
44
44
                           const void *data)
45
45
{
46
46
  CoglAttributeBuffer *array = g_slice_new (CoglAttributeBuffer);
47
 
  gboolean use_malloc;
 
47
  CoglBool use_malloc;
48
48
 
49
49
  if (!(context->private_feature_flags & COGL_PRIVATE_FEATURE_VBOS))
50
50
    use_malloc = TRUE;