Remove return from void functions

This patch fixes compilation on suncc.

http://bugzilla.openedhand.com/show_bug.cgi?id=1978

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
Halton Huo 2010-02-09 10:21:37 +00:00 committed by Emmanuele Bassi
parent 23717452bf
commit 2ecb6f7b20
3 changed files with 3 additions and 3 deletions

View File

@ -267,7 +267,7 @@ cogl_buffer_unmap_EXP (CoglHandle handle)
if (!COGL_BUFFER_FLAG_IS_SET (buffer, MAPPED))
return;
return buffer->vtable->unmap (buffer);
buffer->vtable->unmap (buffer);
}
gboolean

View File

@ -317,7 +317,7 @@ _cogl_sub_texture_transform_coords_to_gl (CoglTexture *tex,
*t = ((*t * sub_tex->sub_height + sub_tex->sub_y) /
cogl_texture_get_height (sub_tex->full_texture));
return _cogl_texture_transform_coords_to_gl (sub_tex->full_texture, s, t);
_cogl_texture_transform_coords_to_gl (sub_tex->full_texture, s, t);
}
static gboolean

View File

@ -734,7 +734,7 @@ _cogl_texture_ensure_non_quad_rendering (CoglHandle handle)
tex = COGL_TEXTURE (handle);
return tex->vtable->ensure_non_quad_rendering (tex);
tex->vtable->ensure_non_quad_rendering (tex);
}
gboolean