Browse Source

nassertv(is_valid());

rdb 16 years ago
parent
commit
a687dd8f96
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/display/graphicsOutput.cxx

+ 1 - 0
panda/src/display/graphicsOutput.cxx

@@ -267,6 +267,7 @@ clear_render_textures() {
 void GraphicsOutput::
 add_render_texture(Texture *tex, RenderTextureMode mode,
                    RenderTexturePlane plane) {
+  nassertv(is_valid());
   
   if (mode == RTM_none) {
     return;