diff --git a/cogl/cogl-texture.c b/cogl/cogl-texture.c index 5b3950bc3..085a23f5b 100644 --- a/cogl/cogl-texture.c +++ b/cogl/cogl-texture.c @@ -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