Some error handling and assert improvements, trying to understand #10662

This commit is contained in:
Henrik Rydgård committed 2018-03-01 12:21:58 +01:00
1 parent c7dcb7c365
commit ee752f5399
4 files changed
+27 -15

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ void UIContext::Init(Draw::DrawContext *thin3d, Draw::Pipeline *uipipe, Draw::Pi
void UIContext::BeginFrame() {
if (!uitexture_) {
uitexture_ = CreateTextureFromFile(draw_, "ui_atlas.zim", ImageFileType::ZIM);
uitexture_ = CreateTextureFromFile(draw_, "ui_atlas.zim", ImageFileType::ZIM, false);
if (!uitexture_) {
PanicAlert("Failed to load ui_atlas.zim.\n\nPlace it in the directory \"assets\" under your PPSSPP directory.");
FLOG("Failed to load ui_atlas.zim");