projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f59d59a
)
[intel] Silence unused variable warning when compiling for i965.
author
Kristian Høgsberg
<krh@redhat.com>
Tue, 4 Mar 2008 00:07:49 +0000
(19:07 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Tue, 4 Mar 2008 00:15:52 +0000
(19:15 -0500)
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
index 48dcf071317f5956e4cadf3d0b7ea203eccbf07f..163183487a84ec826e66cc8b6d489d439289d18b 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
+++ b/
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
@@
-180,7
+180,10
@@
int intel_miptree_pitch_align (struct intel_context *intel,
struct intel_mipmap_tree *mt,
int pitch)
{
+#ifdef I915
GLcontext *ctx = &intel->ctx;
+#endif
+
if (!mt->compressed) {
int pitch_align;