mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
cogl-texture: Remove return in void functions
http://bugzilla.o-hand.com/show_bug.cgi?id=1929 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
parent
2e510c4ef2
commit
9b441ec309
@ -334,8 +334,6 @@ cogl_texture_get_max_waste (CoglHandle handle)
|
||||
tex = COGL_TEXTURE (handle);
|
||||
|
||||
return tex->vtable->get_max_waste (tex);
|
||||
|
||||
g_return_val_if_reached (0);
|
||||
}
|
||||
|
||||
gboolean
|
||||
@ -408,7 +406,7 @@ _cogl_texture_transform_coords_to_gl (CoglHandle handle,
|
||||
{
|
||||
CoglTexture *tex = COGL_TEXTURE (handle);
|
||||
|
||||
return tex->vtable->transform_coords_to_gl (tex, s, t);
|
||||
tex->vtable->transform_coords_to_gl (tex, s, t);
|
||||
}
|
||||
|
||||
GLenum
|
||||
@ -446,7 +444,7 @@ _cogl_texture_set_filters (CoglHandle handle,
|
||||
|
||||
tex = COGL_TEXTURE (handle);
|
||||
|
||||
return tex->vtable->set_filters (tex, min_filter, mag_filter);
|
||||
tex->vtable->set_filters (tex, min_filter, mag_filter);
|
||||
}
|
||||
|
||||
void
|
||||
@ -459,7 +457,7 @@ _cogl_texture_ensure_mipmaps (CoglHandle handle)
|
||||
|
||||
tex = COGL_TEXTURE (handle);
|
||||
|
||||
return tex->vtable->ensure_mipmaps (tex);
|
||||
tex->vtable->ensure_mipmaps (tex);
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user