mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 07:30:22 +01:00
intel: fix the error in commit 7ed1fd5d84
This commit is contained in:
parent
4478926b3a
commit
4a556bcb17
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ intel_miptree_create(struct intel_context *intel,
|
|||
/*
|
||||
* pitch == 0 indicates the null texture
|
||||
*/
|
||||
if (!mt || mt->pitch)
|
||||
if (!mt || !mt->pitch)
|
||||
return NULL;
|
||||
|
||||
mt->region = intel_region_alloc(intel,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue