diff ErrorHandling.h @ 2462:1d04e48651d4

Render split into interface and realization, added Direct3D 11
author a.parshin
date Tue, 12 Aug 2014 21:34:18 +0300
parents d6887ee81068
children
line wrap: on
line diff
--- a/ErrorHandling.h	Tue Aug 05 17:00:35 2014 +0600
+++ b/ErrorHandling.h	Tue Aug 12 21:34:18 2014 +0300
@@ -28,7 +28,10 @@
   }
   va_end(va);
 
-  __debugbreak();
+  #ifndef NODEBUG
+    __debugbreak();
+  #endif
+  exit(0);
 }