]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'texture'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 21 Oct 2021 01:54:22 +0000 (18:54 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 22 Oct 2021 00:04:21 +0000 (17:04 -0700)
cmd/smyrna/smyrnadefs.h
cmd/smyrna/viewport.c

index 95f0e082458aa1f18a400c4db8f97fe40542a330..6c54f46b96f1638f8a5f9327be7d52f49ca3dbd9 100644 (file)
@@ -564,9 +564,6 @@ typedef struct
        /*active graph */
        int activeGraph;
 
-       /*texture data */
-       int texture;            /*1 texturing enabled, 0 disabled */
-
        /*stores the info about status of mouse,pressed? what button ? where? */
 //     mouse_attr mouse;
        glCompMouse mouse;
index 7bf720a4d8581f1dde2ef993cd53d91f0ba81943..a7208a33dc210348f6dffd2f6d65b0d9d1adde4e 100644 (file)
@@ -352,7 +352,6 @@ void init_viewport(ViewInfo * view)
 
 
     view->zoom = -20;
-    view->texture = 1;
     view->FontSize = 52;
 
     view->topviewusermode = TOP_VIEW_USER_NOVICE_MODE; //for demo