[Mesa-dev] [PATCH 2/3] st/mesa: Remove unneeded texture format terminators.
Brian Paul
brianp at vmware.com
Mon Jun 20 17:16:34 PDT 2011
On 06/20/2011 05:31 PM, Stéphane Marchesin wrote:
> ---
> src/mesa/state_tracker/st_format.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c
> index 6f43c03..2196972 100644
> --- a/src/mesa/state_tracker/st_format.c
> +++ b/src/mesa/state_tracker/st_format.c
> @@ -616,7 +616,7 @@ static struct format_mapping format_map[] = {
> },
> {
> { 4, GL_RGBA, GL_RGBA8, 0 },
> - { DEFAULT_RGBA_FORMATS, 0 }
> + { DEFAULT_RGBA_FORMATS }
> },
> {
> { GL_BGRA, 0 },
> @@ -624,7 +624,7 @@ static struct format_mapping format_map[] = {
> },
> {
> { 3, GL_RGB, GL_RGB8, 0 },
> - { DEFAULT_RGB_FORMATS, 0 }
> + { DEFAULT_RGB_FORMATS }
> },
> {
> { GL_RGB12, GL_RGB16, GL_RGBA12, GL_RGBA16, 0 },
Pushed. Thanks.
-Brian
More information about the mesa-dev
mailing list