summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-03-01 18:14:26 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-03-02 10:21:55 +0000
commit907d5611b2d17efaf7e243ff766b04de957267d0 (patch)
treebc55a35955a8e69584121210350d2531d76df5fb
parentb34d138d8453d45f29632d4dcbe040be11265d26 (diff)
drm/nouveau: Rename pipe formats.
-rw-r--r--src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c b/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
index c814d986b1..0d05f316c4 100644
--- a/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
+++ b/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
@@ -119,9 +119,9 @@ nouveau_drm_create_screen(struct drm_api *api, int fd,
enum pipe_format format;
if (nvdri->bpp == 16)
- format = PIPE_FORMAT_R5G6B5_UNORM;
+ format = PIPE_FORMAT_B5G6R5_UNORM;
else
- format = PIPE_FORMAT_A8R8G8B8_UNORM;
+ format = PIPE_FORMAT_B8G8R8A8_UNORM;
nvws->front = dri_surface_from_handle(api, nvws->pscreen,
nvdri->front_offset,