From bb3de276219c9f56ec8b53c7cfb11fb10a040475 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Sun, 5 Nov 2023 15:18:57 +0100 Subject: [PATCH] cogl/cleanup: Drop unnused private structs Part-of: --- cogl/cogl/cogl-primitives.c | 8 -------- cogl/cogl/cogl-texture-2d.c | 6 ------ 2 files changed, 14 deletions(-) diff --git a/cogl/cogl/cogl-primitives.c b/cogl/cogl/cogl-primitives.c index d7d658145..dda12e75a 100644 --- a/cogl/cogl/cogl-primitives.c +++ b/cogl/cogl/cogl-primitives.c @@ -65,14 +65,6 @@ typedef struct _TextureSlicedQuadState gboolean flipped_y; } TextureSlicedQuadState; -typedef struct _TextureSlicedPolygonState -{ - const CoglTextureVertex *vertices; - int n_vertices; - int stride; - CoglAttribute **attributes; -} TextureSlicedPolygonState; - static void log_quad_sub_textures_cb (CoglTexture *texture, const float *subtexture_coords, diff --git a/cogl/cogl/cogl-texture-2d.c b/cogl/cogl/cogl-texture-2d.c index 3c5d06c70..a7e46e111 100644 --- a/cogl/cogl/cogl-texture-2d.c +++ b/cogl/cogl/cogl-texture-2d.c @@ -51,12 +51,6 @@ G_DEFINE_FINAL_TYPE (CoglTexture2D, cogl_texture_2d, COGL_TYPE_TEXTURE) -typedef struct _CoglTexture2DManualRepeatData -{ - CoglTexture2D *tex_2d; - CoglMetaTextureCallback callback; - void *user_data; -} CoglTexture2DManualRepeatData; static void cogl_texture_2d_dispose (GObject *object)