diff options
author | Brian Paul <[email protected]> | 2009-02-26 14:02:52 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-26 18:48:35 -0700 |
commit | ecdf3ce436c004365c4d3c468bf1f9ef9138853e (patch) | |
tree | a61eb60976e3b91c07e8cd3953624370e6ef927a /src/mesa/drivers/dri/intel | |
parent | 8ae7e7749b708fc5a46180d3de2503ba7e2ab1f3 (diff) |
i965: add missing init for region->width
This doesn't seem to really effect anything but seeing width=0 in drawing
regions was confusing.
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_regions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_regions.c b/src/mesa/drivers/dri/intel/intel_regions.c index 749920502a2..0aa5b8c02c9 100644 --- a/src/mesa/drivers/dri/intel/intel_regions.c +++ b/src/mesa/drivers/dri/intel/intel_regions.c @@ -466,7 +466,8 @@ intel_recreate_static(struct intel_context *intel, else region->cpp = intel->ctx.Visual.rgbBits / 8; region->pitch = intelScreen->pitch; - region->height = intelScreen->height; /* needed? */ + region->width = intelScreen->width; + region->height = intelScreen->height; if (region->buffer != NULL) { dri_bo_unreference(region->buffer); |