cogl-texture-2d: Add _cogl_is_texture_2d to the private header

This adds a declaration for _cogl_is_texture_2d to the private header
so that it can be used in cogl-blit.c to determine if the target
texture is a simple 2D texture.
This commit is contained in:
Neil Roberts 2011-02-10 18:24:14 +00:00
parent bc86db1057
commit 5ca053a3c1

View File

@ -59,6 +59,9 @@ struct _CoglTexture2D
GQuark GQuark
_cogl_handle_texture_2d_get_type (void); _cogl_handle_texture_2d_get_type (void);
gboolean
_cogl_is_texture_2d (CoglHandle object);
CoglHandle CoglHandle
_cogl_texture_2d_new_with_size (unsigned int width, _cogl_texture_2d_new_with_size (unsigned int width,
unsigned int height, unsigned int height,