From: Matthew Fernandez Date: Thu, 21 Oct 2021 01:53:46 +0000 (-0700) Subject: smyrna: remove unused 'GLDepth' X-Git-Tag: 2.49.3~1^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c81bc45d0a2fc7700dbc26a60057302198c8e84e;p=graphviz smyrna: remove unused 'GLDepth' --- diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index 2b71e2d7e..95f0e0824 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -566,8 +566,6 @@ typedef struct /*texture data */ int texture; /*1 texturing enabled, 0 disabled */ - /*opengl depth value to convert mouse to GL coords */ - float GLDepth; /*stores the info about status of mouse,pressed? what button ? where? */ // mouse_attr mouse; diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index abac5f70b..7bf720a4d 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -346,7 +346,6 @@ void init_viewport(ViewInfo * view) view->LineWidth = 1; //default view settings , camera is not active - view->GLDepth = 1; //should be set before GetFixedOGLPos(int x, int y,float kts) funtion is used!!!! view->panx = 0; view->pany = 0; view->panz = 0;