Initialize the fourcc value in stack-allocated glitz_pixel_format_t

structures. Greatly reduces the number of uninitialized-value accesses
    during Xgl startup according to valgrind. Allocating and filling these
    in by hand on the stack seems very shady to me.
This commit is contained in:
Eric Anholt 2005-12-31 08:01:31 +00:00
commit c25536a793
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2005-12-30 Eric Anholt <anholt@FreeBSD.org>
* hw/xgl/xglsync.c: (xglSyncBits), (xglSyncSurface):
Initialize the fourcc value in stack-allocated glitz_pixel_format_t
structures. Greatly reduces the number of uninitialized-value accesses
during Xgl startup according to valgrind. Allocating and filling these
in by hand on the stack seems very shady to me.
2005-12-30 Eric Anholt <anholt@FreeBSD.org>
* configure.ac: