[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:
Robert Bragg 2009-05-26 18:25:00 +01:00
parent 605243d952
commit 57cb20dc06

View File

@ -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