From d292655cc528bfad311be1eb697e32402a5f59ed Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 5 Jun 2021 17:01:38 -0700 Subject: [PATCH] remove unused glCompImageMouseUp --- lib/glcomp/glcompimage.c | 8 -------- lib/glcomp/glcompimage.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/lib/glcomp/glcompimage.c b/lib/glcomp/glcompimage.c index e0451fbe8..3637c326b 100644 --- a/lib/glcomp/glcompimage.c +++ b/lib/glcomp/glcompimage.c @@ -146,11 +146,3 @@ void glCompImageDraw(void *obj) } } - -void glCompImageMouseUp(glCompObj * obj, GLfloat x, GLfloat y, - glMouseButtonType t) -{ - /*Put your internal code here */ - if (((glCompImage *) obj)->common.callbacks.mouseup) - ((glCompImage *) obj)->common.callbacks.mouseup(obj, x, y, t); -} diff --git a/lib/glcomp/glcompimage.h b/lib/glcomp/glcompimage.h index 862d53110..055177984 100644 --- a/lib/glcomp/glcompimage.h +++ b/lib/glcomp/glcompimage.h @@ -25,8 +25,6 @@ extern "C" { int width, int height,int is2D); extern int glCompImageLoadPng(glCompImage * i, char *pngFile,int is2D); extern void glCompImageDraw(void *obj); - extern void glCompImageMouseUp(glCompObj * obj, GLfloat x, GLfloat y, - glMouseButtonType t); #ifdef __cplusplus } -- 2.40.0