From: Brian Paul Date: Sun, 12 Dec 2004 22:24:09 +0000 (+0000) Subject: removed unused visInfo var X-Git-Tag: 062012170305~23662 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8402149766f4feb3f894d5d32c1e09d8897a1ae0;p=profile%2Fivi%2Fmesa.git removed unused visInfo var --- diff --git a/progs/xdemos/glxpbdemo.c b/progs/xdemos/glxpbdemo.c index 9bdf2ff..91fd30d 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; }