UI: Stop caching the draw context in coreParam.

This is possibly getting outdated in some paths of graphics reinit, and
then causing crashes.  Let's just always get it from the graphicsContext.
This commit is contained in:
Unknown W. Brackets 2019-09-28 21:36:03 -07:00
parent 029dd07c8e
commit 5871ab0538
8 changed files with 10 additions and 15 deletions

View file

@ -43,7 +43,6 @@ void LibretroHWRenderContext::ContextReset() {
if (!draw_) {
CreateDrawContext();
PSP_CoreParameter().thin3d = draw_;
bool success = draw_->CreatePresets();
assert(success);
}