Sfoglia il codice sorgente

remove bogus assert

David Rose 17 anni fa
parent
commit
889ccb9860
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      panda/src/display/parasiteBuffer.cxx

+ 0 - 2
panda/src/display/parasiteBuffer.cxx

@@ -55,8 +55,6 @@ ParasiteBuffer(GraphicsOutput *host, const string &name,
   _is_valid = true;
   
   set_inverted(host->get_gsg()->get_copy_texture_inverted());
-  
-  nassertv(_x_size <= host->get_x_size() && _y_size <= host->get_y_size());
 }
 
 ////////////////////////////////////////////////////////////////////