diff options
author | Robert Bragg <robert@linux.intel.com> | 2014-01-02 18:02:01 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2014-01-02 18:02:01 +0000 |
commit | 55b09f8a939db71ee5ff41afa0ed08cbe937a4ec (patch) | |
tree | 9153a508e945177b22be55744373d629c1c66221 | |
parent | 99a53c82e9ab0a1e5ee35941bf83dc334b1fbe87 (diff) | |
download | cogl-55b09f8a939db71ee5ff41afa0ed08cbe937a4ec.tar.gz |
texture: fix cogl_texture_get_components prototype
This fixes the cogl_texture_get_components() prototype to have a return
type of CoglTextureComponents instead of CoglBool which was probably a
copy and paste error.
-rw-r--r-- | cogl/cogl-texture.c | 2 | ||||
-rw-r--r-- | cogl/cogl-texture.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cogl/cogl-texture.c b/cogl/cogl-texture.c index 51b75996..dfaac45a 100644 --- a/cogl/cogl-texture.c +++ b/cogl/cogl-texture.c @@ -1387,7 +1387,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 09176128..dcdc249f 100644 --- a/cogl/cogl-texture.h +++ b/cogl/cogl-texture.h @@ -161,7 +161,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); /** |