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:
parent
029dd07c8e
commit
5871ab0538
8 changed files with 10 additions and 15 deletions
|
@ -43,7 +43,6 @@ void LibretroHWRenderContext::ContextReset() {
|
|||
|
||||
if (!draw_) {
|
||||
CreateDrawContext();
|
||||
PSP_CoreParameter().thin3d = draw_;
|
||||
bool success = draw_->CreatePresets();
|
||||
assert(success);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue