Add "glgsg->update_texture(tc, true);" for new cubemap only case.

This commit is contained in:
aignacio_sf 2008-09-04 01:44:25 +00:00
parent 34c5c69ede
commit f508157c52
1 changed files with 2 additions and 0 deletions

View File

@ -313,6 +313,8 @@ rebuild_bitplanes() {
TextureContext *tc = tex->prepare_now(glgsg->get_prepared_objects(), glgsg);
nassertv(tc != (TextureContext *)NULL);
CLP(TextureContext) *gtc = DCAST(CLP(TextureContext), tc);
glgsg->update_texture(tc, true);
RenderTexturePlane plane = get_texture_plane(i);
switch (plane)