Просмотр исходного кода

Make some helpful statements that help in debugging mis-spellings causing empty screens.

Jon Watte 10 лет назад
Родитель
Сommit
e68b7aa2aa
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      gameplay/src/Theme.cpp

+ 1 - 0
gameplay/src/Theme.cpp

@@ -73,6 +73,7 @@ Theme* Theme::getDefault()
         if (!__defaultTheme)
         {
             // Create an empty theme so that UI's with no theme don't just crash
+            GP_WARN("Creating default (empty) UI Theme.");
             __defaultTheme = new Theme();
             unsigned int color = 0x00000000;
             __defaultTheme->_texture = Texture::create(Texture::RGBA, 1, 1, (unsigned char*)&color, false);