Drop IrrlichtDevice when running --speedtests
authorKahrl <kahrl@gmx.net>
Thu, 9 May 2013 13:48:35 +0000 (15:48 +0200)
committerKahrl <kahrl@gmx.net>
Thu, 9 May 2013 14:18:26 +0000 (16:18 +0200)
src/main.cpp

index 3cf6728e47681d8c36d099467548dce719d8ed8b..f2ff88c0c8b1d131d382e794d55dd870e78469b9 100644 (file)
@@ -1462,6 +1462,7 @@ int main(int argc, char *argv[])
        {
                dstream<<"Running speed tests"<<std::endl;
                SpeedTests();
+               device->drop();
                return 0;
        }