OSDN Git Service

i915tex: Better attempt to release miptree when overriding texture image.
authorMichel Dänzer <michel@tungstengraphics.com>
Tue, 5 Jun 2007 17:55:53 +0000 (19:55 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Tue, 5 Jun 2007 17:55:53 +0000 (19:55 +0200)
commit08a2cc2d234386550c0810567f58eb4d5fb68945
treef39458204d681bdcc9af7e80adebb6c5b16e8d85
parent89f070b3bbb86204306857b8cf690abbd56a939d
i915tex: Better attempt to release miptree when overriding texture image.

The previous approach could lead to crashes in FBO code that dereferences the
miptree struct pointer unconditionally.
src/mesa/drivers/dri/i915tex/intel_tex_image.c