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 18ca37918fa5b5eddfaa9174a70937d08b9e3d28..93f66826e8919e44fb1be535c38c812a50d28e0f 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