summaryrefslogtreecommitdiff
path: root/GL
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-04-14 11:45:12 +1000
committerDave Airlie <airlied@redhat.com>2008-04-14 11:45:12 +1000
commit3e12c5bb67f3049156475d5cbf4e899aaded76bb (patch)
tree0581ef7b8096f7f15e26e687a8f786cc8c071198 /GL
parent97565c0f394f16d042c614695c8b7b4ac354f2a3 (diff)
glx: silly nitpick...
even though i and j are the same, we use i to derefence visuals everywhere else
Diffstat (limited to 'GL')
-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++;
}