diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-01 23:22:31 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-02 08:38:21 +0100 |
commit | d66ca06865973833398560a04186e0067d9cb206 (patch) | |
tree | 969d294251cb300c58d7271b32a6a5d88cce8f1a /src/intel_dri.c | |
parent | 25a17b2ca5e3945150151c4308761891c0e20bab (diff) |
uxa: Intialize is_glamor_pixmap
It is not clear whether is_glamor_pixmap is always initialized prior to
use, so set it to a safe^W likely value.
Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_dri.c')
-rw-r--r-- | src/intel_dri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_dri.c b/src/intel_dri.c index 2a95edb8..389ecdd9 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -263,8 +263,8 @@ I830DRI2CreateBuffers(DrawablePtr drawable, unsigned int *attachments, DRI2BufferPtr buffers; I830DRI2BufferPrivatePtr privates; PixmapPtr pixmap, pDepthPixmap; + int is_glamor_pixmap = FALSE; int i; - int is_glamor_pixmap; buffers = calloc(count, sizeof *buffers); if (buffers == NULL) |