aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2006-12-08 07:27:39 +0000
committerBen Skeggs <[email protected]>2006-12-08 07:27:39 +0000
commitbda66ac426e7ebd0c9383c665a43bc9dbe3154f7 (patch)
tree493889281e42a8529ca2279aec47f917531f825a
parent011377622fa78d141486ba0536a1546cea8cb8c6 (diff)
oops, typo
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_screen.c b/src/mesa/drivers/dri/nouveau/nouveau_screen.c
index 18ca37918fa..93f66826e89 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_screen.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_screen.c
@@ -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