graphics API texture refactor

This commit is contained in:
Turanszki Janos
2019-11-21 22:29:25 +00:00
parent f026387c61
commit 20e56802cc
58 changed files with 1075 additions and 1313 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ WeatherWindow::WeatherWindow(wiGUI* gui) : GUI(gui)
if (result.ok) {
string fileName = result.filenames.front();
wiRenderer::SetEnvironmentMap((Texture2D*)wiResourceManager::GetGlobal().add(fileName));
wiRenderer::SetEnvironmentMap((Texture*)wiResourceManager::GetGlobal().add(fileName));
skyButton->SetText(fileName);
}
}