xserver: Branch 'master'

Dave Airlie airlied at kemper.freedesktop.org
Sun Apr 13 18:51:40 PDT 2008


 GL/glx/glxscreens.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3e12c5bb67f3049156475d5cbf4e899aaded76bb
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Apr 14 11:45:12 2008 +1000

    glx: silly nitpick...
    
    even though i and j are the same, we use i to derefence visuals everywhere else

diff --git a/GL/glx/glxscreens.c b/GL/glx/glxscreens.c
index b49a775..41ee029 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++;
     }
 


More information about the xorg-commit mailing list