diff options
author | Robert Bragg <robert@linux.intel.com> | 2011-03-01 23:12:18 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2011-04-11 17:54:36 +0100 |
commit | 2bbb0d895b6b1db2a06a8c52f0f181acc3edefbe (patch) | |
tree | 30b9b55c47a27ccaf1fb0b866eb6c09e54d43d32 /cogl/cogl-framebuffer.c | |
parent | 1928f7ec0e7b20ef25a8edf0535d467a08dd7a8e (diff) | |
download | cogl-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-framebuffer.c')
-rw-r--r-- | cogl/cogl-framebuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cogl/cogl-framebuffer.c b/cogl/cogl-framebuffer.c index e67e27bf..8f0769df 100644 --- a/cogl/cogl-framebuffer.c +++ b/cogl/cogl-framebuffer.c @@ -464,13 +464,13 @@ _cogl_framebuffer_clear (CoglFramebuffer *framebuffer, } int -_cogl_framebuffer_get_width (CoglFramebuffer *framebuffer) +cogl_framebuffer_get_width (CoglFramebuffer *framebuffer) { return framebuffer->width; } int -_cogl_framebuffer_get_height (CoglFramebuffer *framebuffer) +cogl_framebuffer_get_height (CoglFramebuffer *framebuffer) { return framebuffer->height; } |