summaryrefslogtreecommitdiff
path: root/cogl/cogl-clip-stack.c
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2011-03-01 23:12:18 +0000
committerRobert Bragg <robert@linux.intel.com>2011-04-11 17:54:36 +0100
commit2bbb0d895b6b1db2a06a8c52f0f181acc3edefbe (patch)
tree30b9b55c47a27ccaf1fb0b866eb6c09e54d43d32 /cogl/cogl-clip-stack.c
parent1928f7ec0e7b20ef25a8edf0535d467a08dd7a8e (diff)
downloadcogl-2bbb0d895b6b1db2a06a8c52f0f181acc3edefbe.tar.gz
Make cogl_framebuffer_get_width/height experimental public API
It's generally useful to be able to query the width and height of a framebuffer and we expect to need this in Clutter when we move the eglnative backend code into Cogl since Clutter will need to read back the fixed size of the framebuffer when realizing the stage.
Diffstat (limited to 'cogl/cogl-clip-stack.c')
-rw-r--r--cogl/cogl-clip-stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-clip-stack.c b/cogl/cogl-clip-stack.c
index 1456262c..5f21810e 100644
--- a/cogl/cogl-clip-stack.c
+++ b/cogl/cogl-clip-stack.c
@@ -644,7 +644,7 @@ _cogl_clip_stack_flush (CoglClipStack *stack)
else
{
int framebuffer_height =
- _cogl_framebuffer_get_height (framebuffer);
+ cogl_framebuffer_get_height (framebuffer);
scissor_y_start = framebuffer_height - scissor_y1;
}