Mesa (master): intel: Drop dead preinitialization of align_w, align_h.
Eric Anholt
anholt at kemper.freedesktop.org
Tue Jun 14 18:24:26 UTC 2011
Module: Mesa
Branch: master
Commit: 56965aa007c2c6029204d617c0edcf142603e98d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=56965aa007c2c6029204d617c0edcf142603e98d
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jun 9 17:01:57 2011 -0700
intel: Drop dead preinitialization of align_w, align_h.
---
src/mesa/drivers/dri/intel/intel_tex_layout.c | 2 +-
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 32c34da..91ee55e 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;
More information about the mesa-commit
mailing list