diff options
author | Marek Olšák <[email protected]> | 2011-05-28 16:30:51 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-05-30 10:49:35 +0200 |
commit | 24ed0b384b74863d142a915a6bc9f998ddb20ef4 (patch) | |
tree | b80e3885eb5396b8a67989a1c5e3ccf12ad0ec8c /src/mesa/swrast/s_blit.c | |
parent | 6c638b7ca1109e9ec0f16e6c13e08928b4d05b23 (diff) |
st/mesa: fix typos and add some format fallbacks in format_map
Always default to DEFAULT_*_FORMATS for mandatory GL formats.
(st_choose_format must not fail for those)
Use DEFAULT_RGBA when alpha is required instead of RGB.
Use DEFAULT_RGB otherwise.
These are more or less the remaining differences between the old code and
the new one.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_blit.c')
0 files changed, 0 insertions, 0 deletions