summaryrefslogtreecommitdiff
path: root/cogl/cogl-attribute.c
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2012-02-05 21:04:14 +0100
committerNeil Roberts <neil@linux.intel.com>2012-02-07 15:25:35 +0000
commit55427a18a611a0006da1ab874dec7a93e760b21b (patch)
tree0a98b3fcb4d83e79e4cd205b0d9704ececee6d02 /cogl/cogl-attribute.c
parentec1bb4ce39ea0103fa0d1d408ca325922fdb7131 (diff)
downloadcogl-55427a18a611a0006da1ab874dec7a93e760b21b.tar.gz
Make _cogl_pipeline_get_layer_texture public
There was no other way to get a pointer to the texture attached to a pipeline layer apart from the using the CoglMaterial API but I think this was just an oversight so we should add this in. It is already maked in the sections file for the gtk-doc. Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/cogl-attribute.c')
-rw-r--r--cogl/cogl-attribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-attribute.c b/cogl/cogl-attribute.c
index 665f265f..e8654df8 100644
--- a/cogl/cogl-attribute.c
+++ b/cogl/cogl-attribute.c
@@ -323,7 +323,7 @@ validate_layer_cb (CoglPipeline *pipeline,
void *user_data)
{
CoglTexture *texture =
- _cogl_pipeline_get_layer_texture (pipeline, layer_index);
+ cogl_pipeline_get_layer_texture (pipeline, layer_index);
ValidateLayerState *state = user_data;
gboolean status = TRUE;