mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
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:
parent
23717452bf
commit
2ecb6f7b20
@ -267,7 +267,7 @@ cogl_buffer_unmap_EXP (CoglHandle handle)
|
|||||||
if (!COGL_BUFFER_FLAG_IS_SET (buffer, MAPPED))
|
if (!COGL_BUFFER_FLAG_IS_SET (buffer, MAPPED))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
return buffer->vtable->unmap (buffer);
|
buffer->vtable->unmap (buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
@ -317,7 +317,7 @@ _cogl_sub_texture_transform_coords_to_gl (CoglTexture *tex,
|
|||||||
*t = ((*t * sub_tex->sub_height + sub_tex->sub_y) /
|
*t = ((*t * sub_tex->sub_height + sub_tex->sub_y) /
|
||||||
cogl_texture_get_height (sub_tex->full_texture));
|
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
|
static gboolean
|
||||||
|
@ -734,7 +734,7 @@ _cogl_texture_ensure_non_quad_rendering (CoglHandle handle)
|
|||||||
|
|
||||||
tex = COGL_TEXTURE (handle);
|
tex = COGL_TEXTURE (handle);
|
||||||
|
|
||||||
return tex->vtable->ensure_non_quad_rendering (tex);
|
tex->vtable->ensure_non_quad_rendering (tex);
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user