Mesa (master): util: Add missing initializer.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Mon Oct 31 12:41:24 PDT 2011


Module: Mesa
Branch: master
Commit: 7ff247712d7c01141756d0999ff86af1e109ce7c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ff247712d7c01141756d0999ff86af1e109ce7c

Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Oct 31 19:04:08 2011 +0000

util: Add missing initializer.

---

 src/gallium/auxiliary/util/u_format_table.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_format_table.py b/src/gallium/auxiliary/util/u_format_table.py
index 250a535..703d999 100755
--- a/src/gallium/auxiliary/util/u_format_table.py
+++ b/src/gallium/auxiliary/util/u_format_table.py
@@ -115,7 +115,7 @@ def write_format_table(formats):
             if channel.size:
                 print "      {%s, %s, %s, %u}%s\t/* %s = %s */" % (type_map[channel.type], bool_map(channel.norm), bool_map(channel.pure), channel.size, sep, "xyzw"[i], channel.name)
             else:
-                print "      {0, 0, 0}%s" % (sep,)
+                print "      {0, 0, 0, 0}%s" % (sep,)
         print "   },"
         print "   {"
         for i in range(4):



More information about the mesa-commit mailing list