intel: check for miptree allocation failure
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -140,6 +140,8 @@ intel_finalize_mipmap_tree(struct intel_context *intel, GLuint unit)
|
|||||||
cpp,
|
cpp,
|
||||||
comp_byte,
|
comp_byte,
|
||||||
GL_TRUE);
|
GL_TRUE);
|
||||||
|
if (!intelObj->mt)
|
||||||
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pull in any images not in the object's tree:
|
/* Pull in any images not in the object's tree:
|
||||||
|
Reference in New Issue
Block a user