mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-10 20:30:27 +01:00
[intel] Silence unused variable warning when compiling for i965.
This commit is contained in:
parent
f59d59a95f
commit
36c26d321b
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue