mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
removed unused visInfo var
This commit is contained in:
parent
af808afbe7
commit
8402149766
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue