dmuratshin 9 лет назад
Родитель
Сommit
ba4ea3dea0
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      src/oal/SoundSystem_oal.cpp

+ 4 - 2
src/oal/SoundSystem_oal.cpp

@@ -108,7 +108,8 @@ namespace oxygine
 #endif
 #endif
         if (!_device)
         if (!_device)
         {
         {
-            log::messageln("can't create alc device");
+            OX_ASSERT(0);
+            log::error("can't create alc device");
             return;
             return;
         }
         }
 
 
@@ -116,7 +117,8 @@ namespace oxygine
 
 
         if (!_context)
         if (!_context)
         {
         {
-            log::messageln("can't create alc context");
+            OX_ASSERT(0);
+            log::error("can't create alc context");
             return;
             return;
         }
         }