Mesa (master): st/mesa: Remove unneeded texture format terminators.
Brian Paul
brianp at kemper.freedesktop.org
Tue Jun 21 00:16:24 UTC 2011
Module: Mesa
Branch: master
Commit: 649d03d54d2b508bc6144fed41cedf7aa9ad0be5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=649d03d54d2b508bc6144fed41cedf7aa9ad0be5
Author: Stéphane Marchesin <marcheu at chromium.org>
Date: Mon Jun 20 16:31:03 2011 -0700
st/mesa: Remove unneeded texture format terminators.
Signed-off-by: Brian Paul <brianp at vmware.com>
---
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 1d3d6cc..263613b 100644
--- a/src/mesa/state_tracker/st_format.c
+++ b/src/mesa/state_tracker/st_format.c
@@ -616,7 +616,7 @@ static const 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 const 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 },
More information about the mesa-commit
mailing list