diff options
author | José Fonseca <[email protected]> | 2010-03-01 18:14:26 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-03-02 10:21:55 +0000 |
commit | 907d5611b2d17efaf7e243ff766b04de957267d0 (patch) | |
tree | bc55a35955a8e69584121210350d2531d76df5fb /src | |
parent | b34d138d8453d45f29632d4dcbe040be11265d26 (diff) |
drm/nouveau: Rename pipe formats.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c | 4 |
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 c814d986b1d..0d05f316c42 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, |