commit 9b0ed554f4cb58c4bec04d4c302b89f6b251e084 parent 0493db5b6c24c2189ba4fe2111796c76f4ba0ee0 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Sep 10 18:29:50 -0700 Assert to make a certain crash clearer Diffstat:
gpubtt.cc | | | 1 | + |
diff --git a/gpubtt.cc b/gpubtt.cc @@ -31,6 +31,7 @@ static void gpubtt_build( const glm::ivec2 mid = ( iv0 + iv2 ) / 2; gpubtt_build( verts, i, ohm, btt->left, iv1, mid, iv0 ); + assert( btt->right ); gpubtt_build( verts, i, ohm, btt->right, iv2, mid, iv1 ); } else {