summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-04-14 11:45:12 +1000
committerDave Airlie <airlied@linux.ie>2008-04-15 11:48:10 +1000
commit32604d0f1397c5b5b944a78a47caf1db324312f7 (patch)
tree0663f17c0733056e23bdde3ca6d130732b22628b
parent738aea7a94bf07a986c7b7d83346b86337d65d1e (diff)
glx: silly nitpick...
even though i and j are the same, we use i to derefence visuals everywhere else (cherry picked from commit 3e12c5bb67f3049156475d5cbf4e899aaded76bb)
-rw-r--r--GL/glx/glxscreens.c2
1 files changed, 1 insertions, 1 deletions
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++;
}