From 3e12c5bb67f3049156475d5cbf4e899aaded76bb Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 14 Apr 2008 11:45:12 +1000 Subject: [PATCH] glx: silly nitpick... even though i and j are the same, we use i to derefence visuals everywhere else --- GL/glx/glxscreens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GL/glx/glxscreens.c b/GL/glx/glxscreens.c index b49a775b5..41ee029e6 100644 --- a/GL/glx/glxscreens.c +++ b/GL/glx/glxscreens.c @@ -488,7 +488,7 @@ addMinimalSet(__GLXscreen *pGlxScreen) continue; pGlxScreen->visuals[j] = config; - config->visualID = visuals[j].vid; + config->visualID = visuals[i].vid; j++; }