]> granicus.if.org Git - graphviz/commitdiff
remove unused fs parameter from glCompSetAddNewTexture
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 19 May 2021 03:09:11 +0000 (20:09 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 29 May 2021 01:51:23 +0000 (18:51 -0700)
lib/glcomp/glcomptexture.c

index 7f95bd963f84a09d21a032974ffb1803060d4cff..bbb9ec7c39d4df85f091d91f4c0cbd63c21aa668 100644 (file)
@@ -15,7 +15,7 @@
 
 static glCompTex *glCompSetAddNewTexture(glCompSet * s, int width,
                                         int height, unsigned char *data,
-                                        int is2D,int fs)
+                                        int is2D)
 {
     int Er, offset, ind;
     glCompTex *t;
@@ -88,7 +88,7 @@ glCompTex *glCompSetAddNewTexImage(glCompSet * s, int width, int height,
     glCompTex *t;
     if (!data)
        return NULL;
-    t = glCompSetAddNewTexture(s, width, height, data, is2D,-1);
+    t = glCompSetAddNewTexture(s, width, height, data, is2D);
     if (!t)
        return NULL;
     t->type = glTexImage;
@@ -125,7 +125,7 @@ glCompTex *glCompSetAddNewTexLabel(glCompSet * s, char *def, int fs,
     data = glCompCreatePangoTexture(def, fs, text, surface, &width, &height);
     if (!data)                 /*pango error , */
        Er = 1;
-    t = glCompSetAddNewTexture(s, width, height, data, is2D,fs);
+    t = glCompSetAddNewTexture(s, width, height, data, is2D);
     if (!t)
        Er = 1;
     cairo_surface_destroy(surface);