Silence error message

c++11
scrawl 10 years ago
parent a37a83eaea
commit f0789352c6

@ -117,10 +117,10 @@ namespace MWGui
mPreview.reset(NULL); mPreview.reset(NULL);
mAvatarImage->setImageTexture(""); mAvatarImage->setImageTexture("");
#if 0
MyGUI::ITexture* tex = MyGUI::RenderManager::getInstance().getTexture("CharacterPreview"); MyGUI::ITexture* tex = MyGUI::RenderManager::getInstance().getTexture("CharacterPreview");
if (tex) if (tex)
MyGUI::RenderManager::getInstance().destroyTexture(tex); MyGUI::RenderManager::getInstance().destroyTexture(tex);
#if 0
mPreview.reset(new MWRender::InventoryPreview(mPtr)); mPreview.reset(new MWRender::InventoryPreview(mPtr));
mPreview->setup(); mPreview->setup();
#endif #endif

Loading…
Cancel
Save