mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Add missing check
This commit is contained in:
parent
f8927df9a6
commit
d549817245
@ -22,8 +22,10 @@ UIContext::~UIContext() {
|
||||
sampler_->Release();
|
||||
delete fontStyle_;
|
||||
delete textDrawer_;
|
||||
uitexture_->Release();
|
||||
fontTexture_->Release();
|
||||
if (uitexture_)
|
||||
uitexture_->Release();
|
||||
if (fontTexture_)
|
||||
fontTexture_->Release();
|
||||
}
|
||||
|
||||
void UIContext::Init(Draw::DrawContext *thin3d, Draw::Pipeline *uipipe, Draw::Pipeline *uipipenotex, DrawBuffer *uidrawbuffer) {
|
||||
|
Loading…
Reference in New Issue
Block a user