mirror of
https://github.com/brl/mutter.git
synced 2025-01-25 19:08:56 +00:00
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)
This commit is contained in:
parent
a77dc1319c
commit
85a26ea785
@ -1480,7 +1480,7 @@ cogl_texture_set_components (CoglTexture *texture,
|
|||||||
texture->components = components;
|
texture->components = components;
|
||||||
}
|
}
|
||||||
|
|
||||||
CoglBool
|
CoglTextureComponents
|
||||||
cogl_texture_get_components (CoglTexture *texture)
|
cogl_texture_get_components (CoglTexture *texture)
|
||||||
{
|
{
|
||||||
return texture->components;
|
return texture->components;
|
||||||
|
@ -158,7 +158,7 @@ cogl_texture_set_components (CoglTexture *texture,
|
|||||||
* using the format of the source data that is first uploaded to
|
* using the format of the source data that is first uploaded to
|
||||||
* the given @texture.
|
* the given @texture.
|
||||||
*/
|
*/
|
||||||
CoglBool
|
CoglTextureComponents
|
||||||
cogl_texture_get_components (CoglTexture *texture);
|
cogl_texture_get_components (CoglTexture *texture);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user