]> Dogcows Code - chaz/openbox/blobdiff - render/render.c
new focus cycle popup of doom
[chaz/openbox] / render / render.c
index ecb07ada2b6ab200c27eed69ddaafc9541790e87..b357f8a35f759857a0eee0cfb124d6309a068ac8 100644 (file)
@@ -194,6 +194,14 @@ RrAppearance *RrAppearanceNew(const RrInstance *inst, gint numtex)
   return out;
 }
 
+void RrAppearanceAddTextures(RrAppearance *a, gint numtex)
+{
+    g_assert(a->textures == 0);
+
+    a->textures = numtex;
+    if (numtex) a->texture = g_new0(RrTexture, numtex);
+}
+
 RrAppearance *RrAppearanceCopy(RrAppearance *orig)
 {
     RrSurface *spo, *spc;
This page took 0.022559 seconds and 4 git commands to generate.