mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
[deprecated defines] Adds some missing cogl_texture_* deprecated defines
To assist people porting code from 0.8, the cogl_texture_* functions that have been replaced now have defines that give some hint as to how they should be replaced.
This commit is contained in:
parent
2f0bda49fc
commit
4b105deb35
@ -26,4 +26,12 @@
|
||||
#define cogl_color cogl_color_REPLACED_BY_cogl_set_source_color
|
||||
#define cogl_enable_depth_test cogl_enable_depth_test_RENAMED_TO_cogl_set_depth_test_enabled
|
||||
|
||||
#define cogl_texture_rectangle \
|
||||
cogl_texture_rectangle_REPLACE_BY_cogl_set_source_texture_plus_cogl_rectangle_with_texture_coords
|
||||
|
||||
#define cogl_texture_multiple_rectangles \
|
||||
cogl_texture_multiple_rectangles_REPLACED_BY_cogl_set_source_texture_plus_cogl_rectangles_with_texture_coords
|
||||
|
||||
#define cogl_texture_polygon cogl_texture_polygon_REPLACED_BY_cogl_set_source_texture_plus_cogl_polygon
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user