summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-06-09 17:01:57 -0700
committerEric Anholt <[email protected]>2011-06-14 11:17:39 -0700
commit56965aa007c2c6029204d617c0edcf142603e98d (patch)
treea6403fd59d6be864f5c137dd582cf992f1aab937
parentf94fef83db10f0c9327bd3dd43510ad31c94d82a (diff)
intel: Drop dead preinitialization of align_w, align_h.
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_layout.c b/src/mesa/drivers/dri/intel/intel_tex_layout.c
index 32c34dad2b1..91ee55e2237 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_layout.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_layout.c
@@ -54,7 +54,7 @@ void i945_miptree_layout_2d(struct intel_context *intel,
struct intel_mipmap_tree *mt,
uint32_t tiling, int nr_images)
{
- GLuint align_h = 2, align_w = 4;
+ GLuint align_h, align_w;
GLuint level;
GLuint x = 0;
GLuint y = 0;