OSDN Git Service
(root)
/
android-x86
/
external-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
48dcf07
..
1631834
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;