[gtk/wip/chergert/remove-zero-suffix-array] ngl: remove unnecessary suffix array




commit b368d3abdee2ab3fbdb9f26d44b5008fad7677d9
Author: Christian Hergert <chergert redhat com>
Date:   Wed Mar 3 13:03:24 2021 -0800

    ngl: remove unnecessary suffix array
    
    We didn't end up using this in the final version, so we can just delete
    it and avoid MSVC issues.

 gsk/ngl/gskngltexturelibraryprivate.h | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/gsk/ngl/gskngltexturelibraryprivate.h b/gsk/ngl/gskngltexturelibraryprivate.h
index 56c3d604cc..7e042036eb 100644
--- a/gsk/ngl/gskngltexturelibraryprivate.h
+++ b/gsk/ngl/gskngltexturelibraryprivate.h
@@ -85,11 +85,6 @@ typedef struct _GskNglTextureAtlasEntry
 
   /* When true, backref is an atlas, otherwise texture */
   guint is_atlased : 1;
-
-  /* Suffix data that is per-library specific. gpointer used to
-   * guarantee the alignment for the entries using this.
-   */
-  gpointer data[0];
 } GskNglTextureAtlasEntry;
 
 typedef struct _GskNglTextureLibrary


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]