From f508157c5266b394398b6d3af79edf016a765efe Mon Sep 17 00:00:00 2001 From: aignacio_sf <> Date: Thu, 4 Sep 2008 01:44:25 +0000 Subject: [PATCH] Add "glgsg->update_texture(tc, true);" for new cubemap only case. --- panda/src/glstuff/glGraphicsBuffer_src.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/glstuff/glGraphicsBuffer_src.cxx b/panda/src/glstuff/glGraphicsBuffer_src.cxx index 1b839a22aa..62eb2399b5 100644 --- a/panda/src/glstuff/glGraphicsBuffer_src.cxx +++ b/panda/src/glstuff/glGraphicsBuffer_src.cxx @@ -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)