diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2006-12-30 10:30:42 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-12-30 10:30:42 -0800 |
commit | 3943d7f8b12370dd77dda66e70aa8f1fcd217f9f (patch) | |
tree | 9a0ebf8a6fc82854b84866b296d860b15306c82a /src/mesa/drivers/dri/i965/intel_screen.h | |
parent | 8c180c72d5fed5f26f258759f9649fc647a764ff (diff) |
Use the tiled flag in the sarea to determine region tiling.
This fixes mis-rendering if back/depth fail to get set up as tiled. While it
probably won't ever be the case now that the pitch limits are loosened, this is
still the right thing to do.
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_screen.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_screen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.h b/src/mesa/drivers/dri/i965/intel_screen.h index 094158afd8..bf9a716082 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.h +++ b/src/mesa/drivers/dri/i965/intel_screen.h @@ -42,6 +42,7 @@ typedef struct { char *map; /* memory map */ int offset; /* from start of video mem, in bytes */ int pitch; /* row stride, in pixels */ + unsigned int tiled; } intelRegion; typedef struct |