oops, typo
authorBen Skeggs <darktama@iinet.net.au>
Fri, 8 Dec 2006 07:27:39 +0000 (07:27 +0000)
committerBen Skeggs <darktama@iinet.net.au>
Fri, 8 Dec 2006 07:27:39 +0000 (07:27 +0000)
src/mesa/drivers/dri/nouveau/nouveau_screen.c

index 18ca379..93f6682 100644 (file)
@@ -234,8 +234,8 @@ nouveauFillInModes( unsigned pixel_bits, unsigned depth_bits,
                GLenum type;
        } fb_format_array[] = {
                { GL_RGB , GL_UNSIGNED_SHORT_5_6_5     },
-               { GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV },
-               { GL_RGB , GL_UNSIGNED_INT_8_8_8_8_REV },
+               { GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV },
+               { GL_BGR , GL_UNSIGNED_INT_8_8_8_8_REV },
        };
 
        /* GLX_SWAP_COPY_OML is only supported because the Intel driver doesn't