1
0
Fork 0

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:
Halton Huo 2010-01-04 11:49:50 +00:00 committed by Emmanuele Bassi
parent 2e510c4ef2
commit 9b441ec309

View file

@ -334,8 +334,6 @@ cogl_texture_get_max_waste (CoglHandle handle)
tex = COGL_TEXTURE (handle); tex = COGL_TEXTURE (handle);
return tex->vtable->get_max_waste (tex); return tex->vtable->get_max_waste (tex);
g_return_val_if_reached (0);
} }
gboolean gboolean
@ -408,7 +406,7 @@ _cogl_texture_transform_coords_to_gl (CoglHandle handle,
{ {
CoglTexture *tex = COGL_TEXTURE (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 GLenum
@ -446,7 +444,7 @@ _cogl_texture_set_filters (CoglHandle handle,
tex = COGL_TEXTURE (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 void
@ -459,7 +457,7 @@ _cogl_texture_ensure_mipmaps (CoglHandle handle)
tex = COGL_TEXTURE (handle); tex = COGL_TEXTURE (handle);
return tex->vtable->ensure_mipmaps (tex); tex->vtable->ensure_mipmaps (tex);
} }
gboolean gboolean