From: Matthew Fernandez Date: Wed, 19 May 2021 03:09:11 +0000 (-0700) Subject: remove unused fs parameter from glCompSetAddNewTexture X-Git-Tag: 2.47.3~23^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=316c31d15209d7f6a8a9600bb78c8a94935c4d9f;p=graphviz remove unused fs parameter from glCompSetAddNewTexture --- diff --git a/lib/glcomp/glcomptexture.c b/lib/glcomp/glcomptexture.c index 7f95bd963..bbb9ec7c3 100644 --- a/lib/glcomp/glcomptexture.c +++ b/lib/glcomp/glcomptexture.c @@ -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);