mirror of
https://github.com/brl/mutter.git
synced 2025-01-25 19:08:56 +00:00
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:
parent
9f8d21ba48
commit
9440c690fb
@ -102,9 +102,9 @@ cogl_offscreen_new_with_texture (CoglTexture *texture);
|
|||||||
* buffer.
|
* buffer.
|
||||||
* Deprecated: 1.16: Use cogl_offscreen_new_with_texture instead.
|
* Deprecated: 1.16: Use cogl_offscreen_new_with_texture instead.
|
||||||
*/
|
*/
|
||||||
|
COGL_DEPRECATED_IN_1_16_FOR (cogl_offscreen_new_with_texture)
|
||||||
CoglOffscreen *
|
CoglOffscreen *
|
||||||
cogl_offscreen_new_to_texture (CoglTexture *texture)
|
cogl_offscreen_new_to_texture (CoglTexture *texture);
|
||||||
COGL_DEPRECATED_IN_1_16_FOR (cogl_offscreen_new_with_texture);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cogl_is_offscreen:
|
* cogl_is_offscreen:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user