mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 02:20:43 -05:00
2008-04-29 Robert Bragg <bob@o-hand.com>
* clutter/cogl/gles/cogl-texture.c: Replaces an malloc call with g_malloc.
This commit is contained in:
parent
cc24c99df2
commit
3bcd5d3f98
@ -1,3 +1,8 @@
|
|||||||
|
2008-04-29 Robert Bragg <bob@o-hand.com>
|
||||||
|
|
||||||
|
* clutter/cogl/gles/cogl-texture.c:
|
||||||
|
Replaces an malloc call with g_malloc.
|
||||||
|
|
||||||
2008-04-29 Robert Bragg <bob@o-hand.com>
|
2008-04-29 Robert Bragg <bob@o-hand.com>
|
||||||
|
|
||||||
* clutter/configure.ac:
|
* clutter/configure.ac:
|
||||||
|
@ -580,7 +580,7 @@ _cogl_texture_upload_subregion_to_gl (CoglTexture *tex,
|
|||||||
slice_bmp.width = inter_w;
|
slice_bmp.width = inter_w;
|
||||||
slice_bmp.height = inter_h;
|
slice_bmp.height = inter_h;
|
||||||
slice_bmp.rowstride = bpp * slice_bmp.width;
|
slice_bmp.rowstride = bpp * slice_bmp.width;
|
||||||
slice_bmp.data = (guchar*) malloc (slice_bmp.rowstride *
|
slice_bmp.data = (guchar*) g_malloc (slice_bmp.rowstride *
|
||||||
slice_bmp.height);
|
slice_bmp.height);
|
||||||
|
|
||||||
/* Copy subregion data */
|
/* Copy subregion data */
|
||||||
|
Loading…
Reference in New Issue
Block a user