cogl/cogl-offscreen.h: Fix deprecation macro placement

The deprecation macros need to be before the function prototype on
Visual Studio, and is also accepted by GCC.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
Chun-wei Fan 2013-08-26 18:51:55 +08:00 committed by Neil Roberts
parent 9f8d21ba48
commit 9440c690fb

View File

@ -102,9 +102,9 @@ cogl_offscreen_new_with_texture (CoglTexture *texture);
* buffer.
* Deprecated: 1.16: Use cogl_offscreen_new_with_texture instead.
*/
COGL_DEPRECATED_IN_1_16_FOR (cogl_offscreen_new_with_texture)
CoglOffscreen *
cogl_offscreen_new_to_texture (CoglTexture *texture)
COGL_DEPRECATED_IN_1_16_FOR (cogl_offscreen_new_with_texture);
cogl_offscreen_new_to_texture (CoglTexture *texture);
/**
* cogl_is_offscreen: