cogl-texture-2d: Add _cogl_is_texture_2d to the private header
authorNeil Roberts <neil@linux.intel.com>
Thu, 10 Feb 2011 18:24:14 +0000 (18:24 +0000)
committerNeil Roberts <neil@linux.intel.com>
Tue, 15 Feb 2011 12:10:54 +0000 (12:10 +0000)
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.

clutter/cogl/cogl/cogl-texture-2d-private.h

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