From 316c31d15209d7f6a8a9600bb78c8a94935c4d9f Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 18 May 2021 20:09:11 -0700 Subject: [PATCH] remove unused fs parameter from glCompSetAddNewTexture --- lib/glcomp/glcomptexture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.50.1