mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05: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.
|
||||
* 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:
|
||||
|
Loading…
Reference in New Issue
Block a user