gallium: Reallocate pipe_texture in st_TexImage if the texture object was used.
authorMichel Dänzer <michel@tungstengraphics.com>
Fri, 2 May 2008 15:22:20 +0000 (16:22 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Fri, 2 May 2008 15:22:20 +0000 (16:22 +0100)
commitd4074c509b5d28be0a2ec51d40329e1aed7047ef
treeb213c5c6c470c4b6d7ce1351f09bbf47cb16a4c0
parentbe8a42b4fcad0e0c7803e63f9c4b488c2f618cef
gallium: Reallocate pipe_texture in st_TexImage if the texture object was used.

Fixes problems with interleaved glTexImage and rendering calls.
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_texture.h