[intel] Silence unused variable warning when compiling for i965.

This commit is contained in:
Kristian Høgsberg 2008-03-03 19:07:49 -05:00
parent f59d59a95f
commit 36c26d321b

View file

@ -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;