diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2008-05-02 16:22:20 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2008-05-02 16:22:20 +0100 |
commit | d4074c509b5d28be0a2ec51d40329e1aed7047ef (patch) | |
tree | b213c5c6c470c4b6d7ce1351f09bbf47cb16a4c0 /src/mesa/state_tracker/st_atom_texture.c | |
parent | be8a42b4fcad0e0c7803e63f9c4b488c2f618cef (diff) | |
download | external_mesa3d-d4074c509b5d28be0a2ec51d40329e1aed7047ef.zip external_mesa3d-d4074c509b5d28be0a2ec51d40329e1aed7047ef.tar.gz external_mesa3d-d4074c509b5d28be0a2ec51d40329e1aed7047ef.tar.bz2 |
gallium: Reallocate pipe_texture in st_TexImage if the texture object was used.
Fixes problems with interleaved glTexImage and rendering calls.
Diffstat (limited to 'src/mesa/state_tracker/st_atom_texture.c')
-rw-r--r-- | src/mesa/state_tracker/st_atom_texture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom_texture.c b/src/mesa/state_tracker/st_atom_texture.c index f42b2f8..767654f 100644 --- a/src/mesa/state_tracker/st_atom_texture.c +++ b/src/mesa/state_tracker/st_atom_texture.c @@ -90,6 +90,8 @@ update_textures(struct st_context *st) } st->state.num_textures = su + 1; + + stObj->teximage_realloc = TRUE; } pt = st_get_stobj_texture(stObj); |