diff options
author | Corbin Simpson <[email protected]> | 2010-02-19 03:12:14 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2010-02-19 03:12:14 -0800 |
commit | 71214c640c8b20020ead13897c76b9b6773126ba (patch) | |
tree | 072b6143a06ee5ba73ab7ea1b3a8d8e535a61b56 | |
parent | e95948ea03bd479f5961452647d3993aa0ab05f6 (diff) |
Revert "r300g: remove L8_UNORM from colorbuffer formats"
This reverts commit fc427d23439a2702068209957f08990ea29fe21b.
At least xorg uses this, and just because something is not used in
OpenGL is *never* a valid reason to remove functionality from Gallium.
If something lacks a test, go add a test, don't remove features.
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 036736ccc46..5fa1ea0850e 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -230,6 +230,7 @@ static boolean r300_is_format_supported(struct pipe_screen* screen, /* Supported formats. */ /* Colorbuffer */ case PIPE_FORMAT_A8_UNORM: + case PIPE_FORMAT_L8_UNORM: case PIPE_FORMAT_R5G6B5_UNORM: case PIPE_FORMAT_A1R5G5B5_UNORM: case PIPE_FORMAT_A4R4G4B4_UNORM: |