[cogl/cogl-1.18] texture: fix cogl_texture_get_components prototype
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.18] texture: fix cogl_texture_get_components prototype
- Date: Mon, 13 Jan 2014 19:09:17 +0000 (UTC)
commit 85a26ea785e0795f0989e6a37a3b20ebe3d28826
Author: Robert Bragg <robert linux intel com>
Date: Thu Jan 2 18:02:01 2014 +0000
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.
(cherry picked from commit 55b09f8a939db71ee5ff41afa0ed08cbe937a4ec)
cogl/cogl-texture.c | 2 +-
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 eabe8ce..0e124ba 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 49ba745..5836920 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);
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]