diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-07-23 15:10:07 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-07-23 15:34:30 +0800 |
commit | 5c447fa50ecd4fe7f971b1e6deb8908e98afa61b (patch) | |
tree | 0688f560852eeb12ab23c2341c1af59e9af2f165 | |
parent | e6d0586db95cab1cdf2f8485a1a1a895f18118e4 (diff) |
shut up gcc warning
(cherry picked from commit 6ac352f146bafe3b4bb5832340eb0ccb730565d2)
-rw-r--r-- | src/i965_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_render.c b/src/i965_render.c index 1cbfe242..8360be4a 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -862,7 +862,7 @@ i965_set_picture_surface_state(ScrnInfoPtr pScrn, struct brw_surface_state *ss, memset(&local_ss, 0, sizeof(local_ss)); local_ss.ss0.surface_type = BRW_SURFACE_2D; if (is_dst) { - uint32_t dst_format; + uint32_t dst_format = 0; Bool ret = TRUE; ret = i965_get_dest_format(pPicture, &dst_format); |