diff --git a/cogl/cogl-texture.c b/cogl/cogl-texture.c index eabe8ce93..0e124ba1e 100644 --- a/cogl/cogl-texture.c +++ b/cogl/cogl-texture.c @@ -1480,7 +1480,7 @@ cogl_texture_set_components (CoglTexture *texture, texture->components = components; } -CoglBool +CoglTextureComponents cogl_texture_get_components (CoglTexture *texture) { return texture->components; diff --git a/cogl/cogl-texture.h b/cogl/cogl-texture.h index 49ba74569..5836920cf 100644 --- a/cogl/cogl-texture.h +++ b/cogl/cogl-texture.h @@ -158,7 +158,7 @@ cogl_texture_set_components (CoglTexture *texture, * using the format of the source data that is first uploaded to * the given @texture. */ -CoglBool +CoglTextureComponents cogl_texture_get_components (CoglTexture *texture); /**