From 7b369445b3beb776f27b0f93c7d4dc41dc6b22a4 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Thu, 10 Feb 2011 18:24:14 +0000 Subject: [PATCH] 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. --- clutter/cogl/cogl/cogl-texture-2d-private.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clutter/cogl/cogl/cogl-texture-2d-private.h b/clutter/cogl/cogl/cogl-texture-2d-private.h index e6dad37cb..9c303414e 100644 --- a/clutter/cogl/cogl/cogl-texture-2d-private.h +++ b/clutter/cogl/cogl/cogl-texture-2d-private.h @@ -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,