Explorar o código

remove bogus assert

David Rose %!s(int64=17) %!d(string=hai) anos
pai
achega
889ccb9860
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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());
 }
 
 ////////////////////////////////////////////////////////////////////