diff options
author | Brian Paul <[email protected]> | 2004-12-12 22:24:09 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-12-12 22:24:09 +0000 |
commit | 8402149766f4feb3f894d5d32c1e09d8897a1ae0 (patch) | |
tree | 03f1531c9342a95e342eb9d62386c4d6328110dd /progs | |
parent | af808afbe7c6c066ba35248b881f2c2c69ba7e40 (diff) |
removed unused visInfo var
Diffstat (limited to 'progs')
-rw-r--r-- | progs/xdemos/glxpbdemo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/progs/xdemos/glxpbdemo.c b/progs/xdemos/glxpbdemo.c index 9bdf2ff7466..91fd30dcaa6 100644 --- a/progs/xdemos/glxpbdemo.c +++ b/progs/xdemos/glxpbdemo.c @@ -138,7 +138,6 @@ static int Setup(int width, int height) { #if defined(GLX_VERSION_1_3) || defined(GLX_VERSION_1_4) - XVisualInfo *visInfo; GLXContext glCtx; /* Open the X display */ @@ -175,7 +174,6 @@ Setup(int width, int height) } else { printf("Error: Couldn't create GLXContext\n"); - XFree(visInfo); XCloseDisplay(gDpy); return 0; } @@ -183,7 +181,6 @@ Setup(int width, int height) /* Bind context to pbuffer */ if (!glXMakeCurrent(gDpy, gPBuffer, glCtx)) { printf("Error: glXMakeCurrent failed\n"); - XFree(visInfo); XCloseDisplay(gDpy); return 0; } |