st/mesa: Remove unneeded texture format terminators.
authorStéphane Marchesin <marcheu@chromium.org>
Mon, 20 Jun 2011 23:31:03 +0000 (16:31 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 21 Jun 2011 00:15:50 +0000 (18:15 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_format.c

index 1d3d6cc20e41e2214304d337c564909d6cb03e61..263613b2ce8419deb7fe69c8554284fa47325689 100644 (file)
@@ -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 },